You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if a bug or if I'm doing something wrong, but when I try to show a FluentUI Blazor dialog in a published Blazor app, I get the error "Unhandled exception rendering component: Arg_NoDefCTor, Microsoft.FluentUI.AspNetCore.Components.MessageBox". It works fine in debug mode tough.
馃捇 Repro or Code Sample
Create a new app using "Fluent Blazor WebAssembly Standalone App" template in VS, with the following settings:
Add <FluentDialogProvider /> at the end of MainLayout.razor.
馃悰 Bug Report
Not sure if a bug or if I'm doing something wrong, but when I try to show a FluentUI Blazor dialog in a published Blazor app, I get the error "Unhandled exception rendering component: Arg_NoDefCTor, Microsoft.FluentUI.AspNetCore.Components.MessageBox". It works fine in debug mode tough.
馃捇 Repro or Code Sample
Create a new app using "Fluent Blazor WebAssembly Standalone App" template in VS, with the following settings:
Add
<FluentDialogProvider />
at the end of MainLayout.razor.At the end of Home.razor, add the following:
Run the program in debug mode inside VS just to check that the dialog shows as expected.
Publish the app with
dotnet publish -c Release
.Run the published app and the error occurs.
馃 Expected Behavior
To be able to see the dialog warning in published app, just as in debug app.
馃槸 Current Behavior
An unhandled exception occurs. The DevTools console shows the following
馃實 Your Environment
The text was updated successfully, but these errors were encountered: