-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Analyzer for redundant NuGet packages #44533
Copy link
Copy link
Open
Labels
Area-NetSDKmsbuild-analyzer-candidateItems that would be a good MSBuild AnalyzerItems that would be a good MSBuild AnalyzeruntriagedRequest triage from a team memberRequest triage from a team member
Description
SDK has been moving some NuGet references in the box, such as Microsoft.NetFramework.ReferenceAssemblies or Microsoft.SourceLink.AzureRepos.Git (etc)
If a codebase has an explicit package reference to, say, Microsoft.SourceLink.AzureRepos.Git 1.0.0, it will inherit an older version, that has this bug: #37027
Would be nice to have an analyzer that detects this and suggests to remove an explicit reference, so that the built-in version takes precedence (that no longer has this bug)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-NetSDKmsbuild-analyzer-candidateItems that would be a good MSBuild AnalyzerItems that would be a good MSBuild AnalyzeruntriagedRequest triage from a team memberRequest triage from a team member
Type
Fields
Give feedbackNo fields configured for issues without a type.