Uh oh!
There was an error while loading. Please reload this page.
[browser] Wasm SDK packed as a nuget package - #84082
Conversation
ghost
commented
Mar 29, 2023
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
Uh oh!
There was an error while loading. Please reload this page.
lewing
commented
Apr 11, 2023
kicked this over now that the baseline is green. Cursory reading looks fine, what is left to do? |
radical
commented
Apr 11, 2023
Just curious - why do we have |
radical
left a comment
There was a problem hiding this comment.
Just some comments at a glance. I'm guessing that most of the code is being moved from elsewhere (could you point to the original sources?), so I didn't really review in detail.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| [Output] | ||
| public ITaskItem[] FilesToRemove { get; set; } | ||
| public override bool Execute() |
There was a problem hiding this comment.
nit: I would suggest renaming this to ExecuteInternal, called by Execute which has:
runtime/src/tasks/WasmAppBuilder/ManagedToNativeGenerator.cs
Lines 55 to 64 in 19ff978
This would make the main method simpler, and allow use of
thrownewLogAsErrorException("Invalid number of project assemblies '{0}'",string.Join(","+Environment.NewLine,ProjectAssembly.Select(a =>a.ItemSpec)));There was a problem hiding this comment.
I'll do it in follow-up PR. I would like to focus on the functional part at the moment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| <!-- Avoid having the rid show up in output paths --> | ||
| <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> |
There was a problem hiding this comment.
It's taken from blazor. I would like to be as similar as possible
maraf
commented
Apr 12, 2023
The
This is the original PR dotnet/sdk#31154 that split common bits from Blazor SDK |
maraf
commented
Apr 12, 2023
Nupkg built on CI is correct @lewing@steveisok@radical@pavelsavara Any more feedback? This is needed to unblock SDK change dotnet/sdk#31519 |
* [browser] Wasm SDK packed as a nuget package (#84082) * Update pattern for matching RidAgnosticNupkgToPublishFile to include Microsoft.NET.Sdk.WebAssembly.Pack
Produce a
Microsoft.NET.Sdk.WebAssembly.Packpackage containing most of the Wasm SDK bits.Contributes to #81367