Skip to content

Reference 10.0 GA version for 1xx dependency - #3305

Merged
mthalman merged 5 commits into
dotnet:release/10.0.2xxfrom
mthalman:10.0-dep
Nov 14, 2025
Merged

mthalman merged 5 commits into
dotnet:release/10.0.2xxfrom
mthalman:10.0-dep

Conversation

@mthalman

Copy link
Copy Markdown
Member

No description provided.

@mthalman

Copy link
Copy Markdown
Member Author

@mmitche - The tests are failing here because version 10.0.100-rtm.25523.111 of Microsoft.NET.Runtime.WebAssembly.Sdk doesn't exist in the public dotnet10 feed. That represents the 10.0 GA release of that package. Are these not meant to be pushed to the public feed on release day?

@mmitche

mmitche commented Nov 12, 2025

Copy link
Copy Markdown
Member

Working on it.

@mmitche

mmitche commented Nov 13, 2025

Copy link
Copy Markdown
Member

@mthalman The webassembly SDK is on nuget.org and branded 10.0.0. So maybe something else is going on here?

@mthalman

Copy link
Copy Markdown
Member Author

Ok, so the logic can't assume that it will be the non-stable version, which is what MicrosoftNETSdkVersion represents. You can't really assume that if the version contains a label of rtm or servicing that it should be stable versioned either though, right? Or could you? How are those versioned during servicing for internal branches for example?

Here's the relevant logic:

<PropertyGroup>
<TargetFramework>$(NetCurrent)</TargetFramework>
<!-- Calculate runtime version from SDK version (convert from 1xx to 0xx format) -->
<_RuntimeVersion1xx>$([System.Text.RegularExpressions.Regex]::Replace('$(MicrosoftNETSdkVersion)', '^(\d+\.\d+\.)1(0)?(\d+)(-.*)?$', '$1$3$4'))</_RuntimeVersion1xx>
</PropertyGroup>
<ItemGroup>
<PackageDownload Include="Microsoft.NET.Runtime.WebAssembly.Sdk" Version="[$(_RuntimeVersion1xx)]" />
<PackageDownload Include="Microsoft.NET.Runtime.wasm.Sample.Mono" Version="[$(_RuntimeVersion1xx)]" />
<PackageDownload Include="Microsoft.NET.Sdk.WebAssembly.Pack" Version="[$(_RuntimeVersion1xx)]" />
</ItemGroup>

@mmitche

mmitche commented Nov 13, 2025

Copy link
Copy Markdown
Member

Ok, so the logic can't assume that it will be the non-stable version, which is what MicrosoftNETSdkVersion represents. You can't really assume that if the version contains a label of rtm or servicing that it should be stable versioned either though, right? Or could you? How are those versioned during servicing for internal branches for example?

Here's the relevant logic:

<PropertyGroup>
<TargetFramework>$(NetCurrent)</TargetFramework>
<!-- Calculate runtime version from SDK version (convert from 1xx to 0xx format) -->
<_RuntimeVersion1xx>$([System.Text.RegularExpressions.Regex]::Replace('$(MicrosoftNETSdkVersion)', '^(\d+\.\d+\.)1(0)?(\d+)(-.*)?$', '$1$3$4'))</_RuntimeVersion1xx>
</PropertyGroup>
<ItemGroup>
<PackageDownload Include="Microsoft.NET.Runtime.WebAssembly.Sdk" Version="[$(_RuntimeVersion1xx)]" />
<PackageDownload Include="Microsoft.NET.Runtime.wasm.Sample.Mono" Version="[$(_RuntimeVersion1xx)]" />
<PackageDownload Include="Microsoft.NET.Sdk.WebAssembly.Pack" Version="[$(_RuntimeVersion1xx)]" />
</ItemGroup>

I'd say it's generally not a good idea. Why not just add a couple dependencies on 1xx runtime packages? Then there's no version manipulation.

@mthalman

Copy link
Copy Markdown
Member Author

Why not just add a couple dependencies on 1xx runtime packages? Then there's no version manipulation.

I'm not sure what you mean by this.

Comment thread eng/Version.Details.xml Resolved
@mthalman
mthalman merged commit 4e5d34c into dotnet:release/10.0.2xx Nov 14, 2025
@mthalman
mthalman deleted the 10.0-dep branch November 14, 2025 19:00
JanProvaznik added a commit that referenced this pull request Nov 19, 2026
…xx wasm version from App.Ref

Resolves the Version.Details.props conflict with #11056 (Microsoft.NETCore.Platforms must match the App.Ref build: 11.0.0-rtm.26529.118, whose ci.dot.net Runtime folder exists). Uses MicrosoftNETCoreAppRefVersion for the 1xx wasm packages, as #3305 did for 10.0.2xx at 10.0 GA.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants