Skip to content

Use the .NET SDK version to control the new assets file format - #7118

Merged
nkolev92 merged 4 commits into
devfrom
dev-nkolev92-useSDKVersion
Feb 10, 2026
Merged

nkolev92 merged 4 commits into
devfrom
dev-nkolev92-useSDKVersion

Conversation

@nkolev92

@nkolev92 nkolev92 commented Feb 9, 2026 •

Copy link
Copy Markdown
Member

Bug

Fixes: NuGet/Home#14745

Description

The tldr is that the SDKAnalysisLevel is set for all .NET 11.0.100 and 10.0.300 versions of the .NET SDKs including previews, but some of those versions don't support aliasing.
So is a low precision thing.

To solve this, whenever we are using one of those 2 versions of the SDK, and it's a prerelease SDK we perform an additional check.
We know for .NET 11, 11.0.100-preview.1.26104.118 supports aliased files.
We don't know the 10.0.3xx version yet because dotnet/dotnet#4555 is not merged yet.

Note that I did end up having to remove some 10.0.3xx tests, since I need the .NET 10.0.3xx version to support aliasing and currently that's blocked.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@nkolev92

nkolev92 commented Feb 9, 2026

Copy link
Copy Markdown
Member Author

cc @Evangelink @baronfel

@nkolev92
nkolev92 marked this pull request as ready for review February 9, 2026 22:18
@nkolev92
nkolev92 requested a review from a team as a code owner February 9, 2026 22:18
@nkolev92
nkolev92 merged commit d545b91 into dev Feb 10, 2026
16 checks passed
@nkolev92
nkolev92 deleted the dev-nkolev92-useSDKVersion branch February 10, 2026 00:06
@kartheekp-ms kartheekp-ms added the Engineering Changes related to the build infrastructure of the repo and that do not change product code label Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Changes related to the build infrastructure of the repo and that do not change product code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NullReferenceException in Microsoft.PackageDependencyResolution.targets

3 participants