Skip to content

Improve target graph handling in log messages - #50694

Merged
nkolev92 merged 8 commits into
release/10.0.1xxfrom
dev-nkolev92-improveTargetGraphHandling
Sep 11, 2025
Merged

nkolev92 merged 8 commits into
release/10.0.1xxfrom
dev-nkolev92-improveTargetGraphHandling

Conversation

@nkolev92

@nkolev92 nkolev92 commented Sep 9, 2025 •

Copy link
Copy Markdown
Contributor

With target framework aliasing, NuGet will change the target graph name within the log message from tfm/rid to alias/rid.

Since the NuGet & SDK version combinations will vary in the wild due to global.json and VS shipping it's own version of NuGet, the SDK will be need to be able to handle both iterations.

Long term, NuGet will only use the aliasing, so the implementation will have better perf with aliasing.

By getting this change in in 10.0, it will allow more seamless round tripping and allow to minimize the potential for bugs by rolling out the changes in smaller chunks instead of one mega switch.

Progress towards: NuGet/Home#14528

@github-actions

github-actions Bot commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

This PR is targeting main, which is now for .NET 11-facing work. If you intended to target .NET 10, either retarget this PR to release/10.0.1xx or make sure you backport the change to release/10.0.1xx after merging. See #50394 for more details.

@nkolev92
nkolev92 changed the base branch from main to release/10.0.1xx September 9, 2025 00:58
@nkolev92
nkolev92 force-pushed the dev-nkolev92-improveTargetGraphHandling branch from fddfc22 to d3865fe Compare September 9, 2025 01:01
@nkolev92
nkolev92 requested a review from zivkan September 9, 2025 20:03
@nkolev92
nkolev92 marked this pull request as ready for review September 9, 2025 20:03
@nkolev92
nkolev92 merged commit 9fea2ad into release/10.0.1xx Sep 11, 2025
@nkolev92
nkolev92 deleted the dev-nkolev92-improveTargetGraphHandling branch September 11, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants