Why I cannot find Blazorise scripts and it has not found content directory?
Matthew Barrera
All done by .
DirectoryNotFoundException: Could not find a part of the path \wwwroot\_content
1 Answer
It helps if you have another root path
var builder = WebApplication.CreateBuilder(new WebApplicationOptions
{ WebRootPath = "wwwroot", Args = args
});or use only
var builder = WebApplication.CreateBuilder(args);then
builder.WebHost.UseStaticWebAssets();