Skip to content

Document the impact SdkAnalysisLevel has #47456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/core/project-sdk/msbuild-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -1455,6 +1455,17 @@ The allowed values of this property are SDK feature bands, for example, 8.0.100

For more information, see [SDK Analysis Level Property and Usage](https://github.com/dotnet/designs/blob/main/proposed/sdk-analysis-level.md).

The following table summarizes summarizes which diagnostics SDKAnalysisLevel affects.
By setting the value in SDKAnalysisLevel column, you are getting the Current column.

| SDKAnalysisLevel | What | Previous | Current |
|------------------------|-----------|--------|-------|
| 9.0.100 | Restore HTTP sources diagnostic | [NU1803](/nuget/reference/errors-and-warnings/nu1803) warning | [NU1302](/nuget/reference/errors-and-warnings/nu1302) error. |
| 10.0.100 | Restore Package Pruning, [PrunePackageReference](/nuget/consume-packages/package-references-in-project-files#prunepackagereference), enabled by default | N/A | Enabled for projects targeting .NET 8+ & .NET Standard 2.0+ |
| 10.0.100 | **TBD, I don't think I need this gate anymore** PrunePackageReference diagnostics | N/A | [NU1510](/nuget/reference/errors-and-warnings/nu1510), [NU1511](/nuget/reference/errors-and-warnings/nu1511). |
| 10.0.100 | Restore resolver with lock files | Uses legacy dependency graph resolver (.NET 8 SDK and earlier) | Uses improved, [.NET 9 dependency graph resolver](/nuget/consume-packages/package-references-in-project-files#nuget-dependency-resolver) |
| 10.0.100 | Restore behavior for PackageReference without a version | [NU1603](/nuget/reference/errors-and-warnings/nu1603) warning | [NU1015](/nuget/reference/errors-and-warnings/nu1015) error |

## Microsoft.Testing.Platform–related properties

The following MSBuild properties are documented in this section:
Expand Down
Loading