Move NetAnalysers spec back to Directory.Build.props

This commit is contained in:
Dean Herbert
2022-02-10 18:54:47 +09:00
parent c957778dd8
commit 5b3253a3e4
7 changed files with 1 additions and 13 deletions

View File

@@ -21,7 +21,7 @@
<ItemGroup Label="Code Analysis">
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3" PrivateAssets="All" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)CodeAnalysis\BannedSymbols.txt" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup Label="Code Analysis">
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CodeAnalysis\osu-framework.ruleset</CodeAnalysisRuleSet>

View File

@@ -7,7 +7,4 @@
<ProjectReference Include="..\osu.Framework\osu.Framework.csproj" />
<ProjectReference Include="..\SampleGame\SampleGame.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
</Project>

View File

@@ -5,7 +5,4 @@
<ItemGroup Label="Project References">
<ProjectReference Include="..\osu.Framework\osu.Framework.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
</Project>

View File

@@ -13,7 +13,6 @@
<!-- The following two are unused, but resolves warning MSB3277. -->
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="System.CodeDom" Version="6.0.0" />
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
<ItemGroup>

View File

@@ -27,7 +27,4 @@
<PackagePath>lib\$(TargetFramework)</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
</Project>

View File

@@ -13,6 +13,5 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
</Project>

View File

@@ -47,7 +47,6 @@
<!-- Any version ahead of this will cause runtime issues on iOS
See https://github.com/xoofx/markdig/issues/564 -->
<PackageReference Include="Markdig" Version="0.23.0" />
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition="$(TargetFrameworkIdentifier) == '.NETCoreApp'">
<PackageReference Include="ppy.osu.Framework.NativeLibs" Version="2021.1221.0" />