-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Blazor] Maui windows apps can't find _framework/blazor.modules.json #15234
Comments
This isn't working for me on Android or Windows MAUI currently (unable to test iOS). Neither
Note that I tried this both with putting the Ultimately, after stepping through the Just wanted to add my experiences, as well as inquire if there are any plausible workarounds? Really what I'm after is the ability to trigger a JS specific workload BEFORE |
Thanks for contacting us. We're moving this issue to the |
@mkArtakMSFT, @javiercn We are running into this when using the Blazor Fluent UI library in A Blazor Hybrid project (see microsoft/fluentui-blazor#404 (comment)). Any indication on if/when/how this is solved? And are there known workarounds (besides building your own Microsoft.AspNetCore.Components.WebView :))? |
@mkArtakMSFT, @javiercn, one of our contributors has created a nice workaround for this. See https://github.com/microsoft/fluentui-blazor#tempory-workaround-for-maui-issues for the details. |
is this PR relevant? |
Issue also exists with RCL component hosted in BlazorWebView in Windows Forms and Wpf projects. Workaround mentioned by @vnbaaij is required. |
Is this problem fixed in .NET 8? Do Blazor JS module initializers work in NET 8 in Blazor Hybrid? Is loading file wwwroot/{AppName}.lib.module.js in Blazor hybrid / BlazorWebView fixed? |
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 2. Can repro this issue. |
This should be fixed in #18953 |
@javiercn Hi when is this fix released? And when it is released, do the old projects that use the workaround need to remove it? We have tons of MAUI projects that is currently using the |
This indeed does look to be fixed in .NET9. With .NET9, you should not use the workaround https://github.com/microsoft/fluentui-blazor?tab=readme-ov-file#temporary-workaround-for-mauiwpfwindows-forms-issues, for Blazor Fluent UI, and in fact things won't work if you do since now the modules file is named |
For some reason the apps fail to find the file and as a result initializers don't load. It works fine in other platforms like Android
The text was updated successfully, but these errors were encountered: