I have a ASP.NET Core Blazor Server with Identity.
When I run in the Development environment ("ASPNETCORE_ENVIRONMENT": "Development"), everything works as expected. Specifically, the static web assest such as css and js files are loaded. Example: "~/Identity/css/site.css", "~/Identity/lib/jquery-validation/dist/jquery.validate.min.js".
But when I change the environment to Staging, all the files in "~/Identity/..." path are not found, returning 404 error. And it is not just my project. I created a brand new scaffolded Blazor app with Identity, and it behaves exactly the same. It appears Staging somehow affects sdk to not include embeded resources from .nuget.
Any ideas why? And how to fix it?
