JSInterop Exception in Published Blazor WebAssembly App (Server Mode) #58454
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
Status: Resolved
Is there an existing issue for this?
Describe the bug
Description: When running a Blazor WebAssembly application in server mode in debug and release modes, everything works fine. However, when the application is published, it throws a
Microsoft.JSInterop.JSException
with the following error message:Repository:
BlazorTest
Expected Behavior
he published application throws a Microsoft.JSInterop.JSException with the error message mentioned above.
Steps To Reproduce
dotnet publish -c Release -r linux-x64 -o ~/publish
Exceptions (if any)
No response
.NET Version
8.0.402
Anything else?
dotnet --info:
IDE: Rider
The text was updated successfully, but these errors were encountered: