Skip to content
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

Add KnownWebAssemblySdkPack to GenerateBundledVersions for .NET 6 and 7 #16159

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

maraf
Copy link
Member

@maraf maraf commented Apr 19, 2023

Add KnownWebAssemblySdkPack to GenerateBundledVersions pointing to a package Microsoft.NET.Sdk.WebAssembly.Pack for .NET 6 and 7.

For .NET 5 blazor has a completely separate targets which don't go through Wasm SDK.

At the moment it points to a "current" version. When make a stable and backward compatible release the version should split the same as for ILLinkPack.

…package Microsoft.NET.Sdk.WebAssembly.Pack for .NET 6 and 7.
@maraf maraf requested review from radical and lewing April 19, 2023 15:38
@maraf maraf self-assigned this Apr 19, 2023
@@ -79,6 +79,7 @@
<_NET70RuntimePackVersion>7.0.$(VersionFeature70)</_NET70RuntimePackVersion>
<_NET70TargetingPackVersion>7.0.$(VersionFeature70)</_NET70TargetingPackVersion>
<_NET70ILLinkPackVersion>7.0.100-1.23062.2</_NET70ILLinkPackVersion>
<_NET70WebAssemblyPackVersion>$(MicrosoftNETCoreAppRuntimePackageVersion)</_NET70WebAssemblyPackVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want the 70 webassembly pack version to be the current net8 version number? Also, is 60 meant to be the same as 70?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that there is currently only one version of this package and as far as I know it handles the downlevels correctly I think for the moment we should just make sure there is just a definition that will match for the supported targets.

Copy link
Member

@lewing lewing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definitely need the settings so I think this is fine for the moment and we can refine it in the followups

@lewing lewing merged commit a07e5c6 into main Apr 20, 2023
@lewing lewing deleted the KnownWebAssemblySdkPackBackward branch April 20, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants