Exception thrown intermittently, custom MudBlazor theme with WASM #5101
Unanswered
TomasEvansCode
asked this question in
Q&A
Replies: 2 comments
-
I think I've managed to come up with some steps to replicate the issue:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I now believe this may be an Oqtane bug so have created an issue: #5103 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm creating an app with a custom MudBlazor theme (Based on Leigh Pointer's theme template) using Oqtane 6.1.0, and running in WASM.
The app works fine immediately after building and running from IDE (Visual Studio or Rider), but upon page reload I sometimes get one of the following exceptions:
(ThemeBuilder.razor:66)
This does not occur in Server render mode.
Whatever is causing this seems to be randomly determined when building my solution. A build that throws the exception will always do so if stopped and run again, and one that doesn't never will.
I'm not sure if this is an Oqtane issue, but I thought it may be worth asking here anyway as I'm aware that Oqtane may handle assemblies in a custom way and I'm not an expert on the Blazor + Oqtane WASM infrastructure.
My site settings:

I've tried the following with no success:
MudBlazor.dll
) are copied over in debug.cmd and exist inOqtane.Server/bin/Debug/net9.0/
Many thanks, any hints as to what I could investigate next would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions