When running .NET 8, all of the Blazor WASM DLL files were available at /_framework/<library>.dll
. I need to load these files to perform some activities.
However, after updating to .NET 9, the URLs have changed. They're now available only with an additional slug identifier. For example, Markdig.dll (previously at /_framework/Markdig.dll
) is now only available at /_framework/Markdig.qkx86odmlu.dll
.
I've debugged where I'm loading these files, and I can't find the slug anywhere in the data that I have available to me. How can I either get the proper file name, or configure Blazor to publish as without the slug identifier?
What's strange is that the files are still available without the slug identifier when running debug. It's only a problem when deployed.
With help from the .Net team, I was able to determine that the property I need to add is
<WasmFingerprintAssets>false</WasmFingerprintAssets>