-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Blazor] Fix linking issues #43515
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] Fix linking issues #43515
Conversation
4c00d1d
to
e33a47e
Compare
e33a47e
to
645ff16
Compare
...omponents/WebAssembly/WebAssembly.Authentication/src/Services/RemoteAuthenticationService.cs
Outdated
Show resolved
Hide resolved
…ices/RemoteAuthenticationService.cs Remove additional whitespace
Quarantining for now akes sense to me @captainsafia |
I quarantined in #43478, you could wait for that to flow up to |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/aspnetcore/actions/runs/3153432703 |
Backport of #43515 to release/7.0 /cc @MackinnonBuck @javiercn # Fix linking issues Fixes an issue reported by manual testing where Blazor WebAssembly projects created from the Individual Auth template throw an exception on page load after publishing. ## Description The problem was already fixed in `main` by making `RemoteAuthenticationService` more linker friendly. From @javiercn's comment on the original issue: > What was happening was that the linker was erasing the parameter names of the record we were using for serializing the data Fixes https://github.com/aspnet/AspNetCore-ManualTests/issues/1556 ## Customer Impact Customers are likely to encounter this issue, especially since one of our project templates reproduces the bug. It's expected that our project templates should be ready to publish out of the box. ## Regression? - [X] Yes - [ ] No Regressed from .NET 6. ## Risk - [ ] High - [ ] Medium - [X] Low The change only involves minor restructuring to enable linker-friendliness. There are no changes to any core functionality. ## Verification - [X] Manual (required) - [ ] Automated ## Packaging changes reviewed? - [ ] Yes - [ ] No - [X] N/A
Addresses https://github.com/aspnet/AspNetCore-ManualTests/issues/1556
Even though the report claims that it does not reproduce after the latest SDK insertion, it is still valuable to be more explicit about the linking.