Base solution for your next web application
Open Closed

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


User avatar
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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @timmackey

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

  • User Avatar
    0
    timmackey created

    project files emailed to [email protected]

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @timmackey

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

    Thanks,

  • User Avatar
    0
    musa.demir created

    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:

  • User Avatar
    0
    timmackey created

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

  • User Avatar
    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 ?

  • User Avatar
    0
    timmackey created

    Yes. Azure

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks, then its normal.