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?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    TimMackey created

    project files emailed to [email protected]

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @timmackey

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

    Thanks,

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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:

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    TimMackey created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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 ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    TimMackey created

    Yes. Azure

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks, then its normal.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)