REGRESSION INFO: New Feature on Aspire 13.1
INSTALL STEPS
- Clean machine: Windows x64 25h2
- Install SDK 10.0.100: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-10.0.100-windows-x64-installer
- Install Aspire 13.1 template:
dotnet nuget add source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json --name dotnet9
dotnet new install [email protected] --force
- Install
nodejs and npm
REPRO STEPS
- Create aspire JS app with following command:
dotnet new aspire-js-frontend-starter -o AspireJSApp
- Go to the project folder and run the app
cd AspireJSApp\AspireJSApp.AppHost
dotnet run
- Open the Dashboard URL in browser
- Open the console log of the server resource.
Note
This issue also reproduce on Aspire run
ACTUAL
There is a warning "The WebRootPath was not found: C:\Users\v-zhajin\AspireJSApp\AspireJSApp.Server\wwwroot. Static files may be unavailable"
Error log:
app console log:
warn: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[16]
The WebRootPath was not found: C:\Users\v-zhajin\AspireJSApp\AspireJSApp.Server\wwwroot. Static files may be unavailable.