Skip to content

Block path separators in aliases#7244

Merged
nkolev92 merged 4 commits intodevfrom
dev-nkolev92-pathSeparatorAliases
Apr 2, 2026
Merged

Block path separators in aliases#7244
nkolev92 merged 4 commits intodevfrom
dev-nkolev92-pathSeparatorAliases

Conversation

@nkolev92
Copy link
Copy Markdown
Member

@nkolev92 nkolev92 commented Mar 31, 2026

Bug

Fixes: NuGet/Home#14752

Description

Block path separator in TargetFramework property values as they'll break the assets file format.
This was made as an agreement during the spec review.

This does the typical, introduce new error, gate it behind an SDKAnalysisLevel.
This is not really expected to impact anyone as custom aliases aren't really a thing yet.

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. - Document NU1019 Home#14836

@nkolev92 nkolev92 marked this pull request as ready for review March 31, 2026 16:13
@nkolev92 nkolev92 requested a review from a team as a code owner March 31, 2026 16:13
@nkolev92 nkolev92 requested review from jeffkl and kartheekp-ms March 31, 2026 16:13
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.

Block aliases with path separator

4 participants