-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Cannot use Blazor 8 RC1 wasm on GitHub pages #93017
Comments
It was this line in the csproj that caused the issue, removing it fixed it. |
I've called this out in the article on dotnet/AspNetCore.Docs#30542. I'll keep an 👂 open here to learn if we're just going to dissuade devs from enabling it for GH Pages or if I need to address it some other way. |
Ok ... it didn't go live ... UPDATE: Per DR, I'm removing it. I'll 👂 here if it turns out that anything needs to be said later. |
WasmStripILAfterAOT should be off by default, it can definitely cause issues if applications use reflection |
I have a PR which might fix this issue. #90436 |
My application for the test was just the default Blazor WASM template. |
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsIs there an existing issue for this?
Describe the bugI get the following errors when hosting on GitHub pages a blazor app Expected BehaviorBlazor app to work on GitHub pages Steps To ReproduceCreate a new blazor app Exceptions (if any)See dotnet/AspNetCore.Docs#30535 .NET Version8 RC1 Anything else?No response
|
dotnet/AspNetCore.Docs#30542 - adds a section saying that the property is not supported for github pages. |
Actually, hold on ... that might still be on my To Do list. Let me check. Yes! It was reverted (section). I'm keeping an 👂 open to learn if we need to cover anything or if it's a bug that will be fixed. |
It should be advertised as an opt-in feature for people to try out. Before shipping it to .NET8 RC1, I did test it with Blazor WASM template app and it worked. I am curious what might have caused the issue. I will look into it. |
@guardrex |
My apologies ... I'm buried in work here at the moment 😅. The correct link is ... ... and it is opt-in. It seems that we need to make some remarks about enabling it. I'll be back, but it's tough to reach this at the moment. I'll get to it as soon as I can. If you have a suggestion for remarks, you can place them here, and I'll get them into that section. |
This issue should have been fixed in .NET9. @AceHack Could you try .NET9 to see if this issue still exit? |
This issue has been marked |
I believe this is fixed, please reopen if not |
Is there an existing issue for this?
Describe the bug
I get the following errors when hosting on GitHub pages a blazor app
dotnet/AspNetCore.Docs#30535
Expected Behavior
Blazor app to work on GitHub pages
Steps To Reproduce
Create a new blazor app
Try to host it on GitHub pages
Exceptions (if any)
See dotnet/AspNetCore.Docs#30535
.NET Version
8 RC1
Anything else?
No response
The text was updated successfully, but these errors were encountered: