Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Getting a warning in Blazor WASM since upgrading to NET 9

$
0
0

I do a call on app initialisation in a Blazor WASM app to read the contents of the _framework/blazor.boot.json file. This file is found successfully and I can read the json I need. I also have a global.json file in the root of the solution.

However since upgrading to NET 9, everytime I read the file, I get this warning error. The file clearly exists on the server as its been generated, is this a known issue?

The static asset '//framework/blazor.boot.json' was not found in the built time manifest. This file will not be available at runtime if it is not available at compile time during the publish process. If the file was not added to the project during development, and is created at runtime, use the StaticFiles middleware to serve it instead.


Viewing all articles
Browse latest Browse all 4839

Trending Articles