docs: add SdkAnalysisLevel entries for 10.0.300 and 11.0.100#53857
Open
Copilot wants to merge 3 commits into
Open
docs: add SdkAnalysisLevel entries for 10.0.300 and 11.0.100#53857Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/4cdeb67b-356a-4a66-9c85-4306ff5ba348 Co-authored-by: nkolev92 <2878341+nkolev92@users.noreply.github.com>
…iptions Agent-Logs-Url: https://github.com/dotnet/docs/sessions/4cdeb67b-356a-4a66-9c85-4306ff5ba348 Co-authored-by: nkolev92 <2878341+nkolev92@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
nkolev92
May 14, 2026 21:44
View session
nkolev92
reviewed
May 14, 2026
Co-authored-by: Nikolche Kolev <nikolev@microsoft.com>
gewarren
approved these changes
May 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the SdkAnalysisLevel behavior table in docs/core/project-sdk/msbuild-props.md to document NuGet restore behaviors introduced in SDK feature bands 10.0.300 and 11.0.100.
Changes:
- Add a 10.0.300 table entry for duplicate target framework multi-targeting behavior.
- Add 10.0.300 and 11.0.100 entries describing NU1019 character validation behavior.
- Add an 11.0.100 entry describing the MonoAndroid deprecation warning behavior.
Comments suppressed due to low confidence (1)
docs/core/project-sdk/msbuild-props.md:1520
- These entries attribute NU1019 validation to the
TargetFrameworkproperty, but the described checks (path separators, non-ASCII) are forTargetFrameworkAliasvalues used to disambiguate duplicate target frameworks. Please rename the label/text toTargetFrameworkAlias(including the “property contains…” phrasing) so readers don’t think the SDK is validatingTargetFramework/TargetFrameworksvalues.
| 10.0.300 | `TargetFramework` character validation | Emits [NU1019](/nuget/reference/errors-and-warnings/nu1019) error for path separator characters (`/` or `\`) in a `TargetFramework` property, and [NU1019](/nuget/reference/errors-and-warnings/nu1019) warning for non-ASCII characters. |
| 11.0.100 | MonoAndroid framework deprecation warning | Emits [NU1703](/nuget/reference/errors-and-warnings/nu1703) warning when a package uses the deprecated `MonoAndroid` framework instead of a modern .NET target framework moniker. |
| 11.0.100 | `TargetFramework` non-ASCII character validation | Changes [NU1019](/nuget/reference/errors-and-warnings/nu1019) from a warning to an error when a `TargetFramework` property contains non-ASCII characters. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the
SdkAnalysisLeveltable indocs/core/project-sdk/msbuild-props.mdto document the new behaviors gated on SDK analysis level 10.0.300 and 11.0.100, as defined inSdkAnalysisLevelMinimums.csin the NuGet.Client repo.Changes
Four new rows added to the
SdkAnalysisLevelbehavior table:10.0.300
TargetFrameworkAlias— emits NU1018 error when duplicate target frameworks exist withoutTargetFrameworkAliasset for all frameworks.TargetFrameworkAliascharacter validation — emits NU1019 error for path separator characters (/or\), and NU1019 warning for non-ASCII characters.11.0.100
MonoAndroidframework instead of a modern .NET TFM.TargetFrameworkAliasnon-ASCII character validation — changes NU1019 from a warning to an error for non-ASCII characters.Source
Content sourced directly from the NuGet.Client source:
SdkAnalysisLevelMinimums.cs,RestoreCommand.cs,MonoAndroidDeprecation.cs, andNuGetLogCode.cs.Note
This article was updated with the assistance of AI (ai-assisted).
Internal previews