Skip to content

Commit 698d69a

Browse files
committed
Fix error NU1506: Warning As Error: Duplicate 'PackageVersion' items found.
1 parent 13b53bc commit 698d69a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
</ItemGroup>
3636
<ItemGroup Label="Analyzer">
3737
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" />
38-
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3" />
3938
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit" Version="1.1.0" />
4039
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit" Version="1.1.0" />
4140
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeRefactoring.Testing.XUnit" Version="1.1.0" />
42-
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" /><!-- We explicitly reference these analyzers to get the latest version even though we might not use the latest version of Microsoft.CodeAnalysis everywhere. -->
41+
<!-- We explicitly reference the Microsoft.CodeAnalysis.Analyzers to get the latest version even though we might not use the latest version of Microsoft.CodeAnalysis everywhere. -->
42+
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" />
4343
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.0.1" />
4444
<PackageVersion Include="Microsoft.VSSDK.BuildTools" Version="17.0.1597"/>
4545
</ItemGroup>

0 commit comments

Comments
 (0)