Blazor WASM migration problem from NET 7 to NET 8 dotnet.js file is missing

47 views Asked by At

I am trying to migrate a development Blazor WASM project from .NET 7 to .NET 8. I have followed following article from the microsoft website.

https://learn.microsoft.com/en-us/aspnet/core/migration/70-80?view=aspnetcore-8.0&tabs=visual-studio

The project builds without any error but in the chorme and edge browsers i got the following error

Failed to load resource: the server responded with a status of 404 (Not Found) Uncaught (in promise) Error: Failed to start platform. Reason: TypeError: Failed to fetch dynamically imported module: http://localhost:5193/_framework/dotnet.js at ti (blazor.web.js:1:163957) could someone please explain what should i do to overcome this problem. Many Thanks

0

There are 0 answers