Open Closed

Published Web.Host directory structure does not mimic Project directory structure #10262


0
timmackey created

ANZ version 8.1.0 angular/.net core

When publishing .Web.Host to server, an inconsistent file structure is created.

All .dll, .pdb, and other misc file types are published under wwwroot. However, an additional wwwroot structure containing Common, Plugins, Temp, etc. folders is created, resulting in a dir structure like:

wwwroot
    *.dll
    *.pdb
    wwwroot
        Commmon
        Plugins
        swagger
        Temp
        view-resources

Is this correct?


8 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @timmackey

    Can you confirm this with an empty solution ? We couldn't reproduce this.

  • 0
    timmackey created

    project files emailed to info@aspnetzero.com

  • 0
    ismcagdas created
    Support Team

    Hi @timmackey

    Thanks, we got the project this time and will check it.

    Thanks,

  • 0
    musa.demir created
    Support Team

    Hi @timmackey

    I published it to local folder, but the output is not looks like you shared. Here is the result:

    Here is the clean zero project's publish result:

  • 0
    timmackey created

    This is my directory structure. I'm going to assume it is correct since everything seems to work.

  • 0
    ismcagdas created
    Support Team

    Hi @timmackey

    I think the higher level wwwroot is a default folder of the provider. As I remember you are using Azure, right ?

  • 0
    timmackey created

    Yes. Azure

  • 0
    ismcagdas created
    Support Team

    Thanks, then its normal.