Description
building server as startup fails to find the staticfiles
Uno.Sdk Version
6.1.23
Steps to Reproduce
Clone at this git commit
or use this:
Minimized-Repro.zip
(This Only contains the four main Projects that are activly build for this + the Root files in src folder like Directory., .sln and global.json file. The solution file might show that it can not find those not included parts like specs and so on, but I would not see the need that they could cause this issue. If you think you need them, feel free to get them from here)
- select the *.Server as Startup project with the "https" debug profile (should be default)
- run Debug
- Build fails with staticfiles not found?
Platform with bug
Server as Startup Project
Affected platforms
Did you find any workaround?
NOT Build able ❌ to server
I did already outcomment auth on uno app 🤔 but does not solve it
the "WebApi" project against this does build fine same as the Web Assembly and desktop Target, but as the server should be the login path source that a problem if it is not available
Relevant log output
Output-Debug2.txt
2025-07-25 03:37:47.974 +02:00 [INF] User profile is available. Using 'C:\Users\Sonja\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2025-07-25 03:37:47.996 +02:00 [WRN] The WebRootPath was not found: C:\Users\Sonja\source\repos\DevTKSS.MyManufacturerERP\src\DevTKSS.MyManufacturerERP.Server\wwwroot. Static files may be unavailable.
2025-07-25 03:37:48.009 +02:00 [WRN] The WebRootPath was not found: C:\Users\Sonja\source\repos\DevTKSS.MyManufacturerERP\src\DevTKSS.MyManufacturerERP.Server\wwwroot. Static files may be unavailable.
2025-07-25 03:37:48.011 +02:00 [WRN] The WebRootPath was not found: C:\Users\Sonja\source\repos\DevTKSS.MyManufacturerERP\src\DevTKSS.MyManufacturerERP.Server\wwwroot. Static files may be unavailable.
Description
building server as startup fails to find the staticfiles
Uno.Sdk Version
6.1.23
Steps to Reproduce
Clone at this git commit
or use this:
Minimized-Repro.zip
(This Only contains the four main Projects that are activly build for this + the Root files in src folder like Directory., .sln and global.json file. The solution file might show that it can not find those not included parts like specs and so on, but I would not see the need that they could cause this issue. If you think you need them, feel free to get them from here)
Platform with bug
Server as Startup Project
Affected platforms
Did you find any workaround?
NOT Build able ❌ to server
I did already outcomment auth on uno app 🤔 but does not solve it
the "WebApi" project against this does build fine same as the Web Assembly and desktop Target, but as the server should be the login path source that a problem if it is not available
Relevant log output
Output-Debug2.txt