Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The name of web root folder should be configurable #852

Open
mmarinchenko opened this issue Jun 5, 2024 · 2 comments
Open

The name of web root folder should be configurable #852

mmarinchenko opened this issue Jun 5, 2024 · 2 comments

Comments

@mmarinchenko
Copy link
Contributor

Commit reference: 872287f

In ASP.NET Core:

  1. The name of web root folder can be configured using IWebHostEnvironment.WebRootPath property.
  2. Static files can be served outside of web root path.

Thus, Uno Wasm Bootstrap should not force wwwroot to be added at the end of the publishing path.

We have several Uno applications that are configured to publish to the appropriate folders in our build pipeline (without specifying wwwroot in the path). Now, after upgrading from version 7.0.x, everything is broken...

@agneszitte
Copy link
Contributor

cc @jeromelaban

@jeromelaban
Copy link
Member

@mmarinchenko We do not have a change available to get this out of the current structure from what ASP.NET does. It may be modifiable when the bootstrapper will move to net9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants