-
Notifications
You must be signed in to change notification settings - Fork 4.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
[release/6.0][wasm] Fix publishing *blazorwasm* project with lazy loaded assembly #60497
Conversation
Tagging subscribers to this area: @directhex Issue DetailsTBD
|
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsTBD
|
Part of fix for dotnet#60479 . The other part of the fix will be in `dotnet/sdk`. - Currently for the nested publish, we run `Publish`, and then our native targets. But that can be an overkill, and can cause issues like the one being fixed here. - Instead, allow blazor to configure which target to run instead, which would provide us with the correct set of inputs. - In future, this will be cleaned up, and implemented differently. - Also, a fixed up copy of `Microsoft.NET.Sdk.BlazorWebAssembly.6_0.targets` is included here, so we can run the corresponding test. And it can be removed once the SDK part of the fix gets merged.
f23f39e
to
be38383
Compare
This has a corresponding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you clean up the platform-matrix changes?
@Anipik this is a late breaking change we'd like to get in. Working on the template and email now. |
be38383
to
8b0fdd8
Compare
Since the blazorwasm targets from the sdk are imported after the WasmApp.targets, the original property |
@radical can you pull the test here into main? |
Fixes a user reported issue - #60479
Customer Impact
This fixes the blazorwasm projects that use lazy loaded assemblies, when the
wasm-tools
workload is installed.Testing
Some manual testing, manually running blazor/sdk tests with the workload, and a new unit test.
Risk
Medium.