-
Notifications
You must be signed in to change notification settings - Fork 134
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 Wasm: published app broken #1408
Comments
Issue moved from dotnet/aspnetcore#24565
From @simonziegler on Tuesday, August 4, 2020 5:12:39 PM I'm also experiencing this (on the same project) |
We have created a demo repo for you here, with a published GitHub Pages site here(https://simonziegler.github.io/MonoLinkerDemo/). This test site demonstrates the error on the main page (Index.razor). We may change https://blazormdc.com so that it stops crashing. Please therefore refer to the test repo provided here. |
This is another issue that needs attention for Blazor - and urgently - responding to @danroth27's invitation to highlight issues that need attention. Cheers, Simon |
@MichalStrehovsky @vitek-karas - This looks like it may be related to: |
Yes, this will be the same bug. The stack is the same. The exception message has less detail (can't see the problematic type/method) but that's just because this stack trace is from Mono and the previous one from CoreCLR. Would the latest drop already have the fix so that we can validate? I don't know how the flow from this repo works. |
I believe there are some "bit flow" problems occurring right now. The flow goes like this:
And If necessary, we could hack up a build environment to get the latest ILLinker to verify. But we could just wait until the latest linker bits are in an official nightly SDK. |
Thanks for picking this up |
Hi, is there any update here please? |
The "bit flow" problem was fixed last week. The latest builds of the 5.0 RC1 branch should have the fix: |
@simonziegler could you let us know if the latest build resolves the issue for you? |
@marek-safar Since this only happens when we are hosted on Github pages we are stuck waiting for RC1 to be available in the build chain (The nightly release bits are not typically deployed to Github Actions). |
Please reopen the issue if the problem still persists |
@marek-safar This was resolved. Sorry, we forgot to circle back and add our success. |
Issue moved from dotnet/aspnetcore#24565
From @MarkStega on Tuesday, August 4, 2020 4:50:57 PM
Describe the bug
A Blazor wasm application that is published fails with an exception in a page that works when the application is run locally.
To Reproduce
The repository for this project is located at https://github.com/BlazorMdc/BlazorMdcWebsite
The broken published site is at https://blazormdc.com/ (navigate to "text field - special" in the menu
Exceptions (if any)
Further technical details
The example shows an application published on github pages. The same issue exists if I publish the app locally and host it in a static IIS website.
The offending error is occurring in a .Net Standard 2.1 library.
The text was updated successfully, but these errors were encountered: