Skip to content

Commit

Permalink
Revert "Attempting to fix strange .NET Framework build errors"
Browse files Browse the repository at this point in the history
This reverts commit 9651c80.
  • Loading branch information
Piedone committed Oct 3, 2023
1 parent 9651c80 commit 42884e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions Lombiq.Analyzers/Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>
</PropertyGroup>

<!-- .NET-only packages. -->
<ItemGroup>
<AnalyzerPackage Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.7.0"/>
</ItemGroup>

<Import Project="$(MSBuildThisFileDirectory)CommonPackages.props" />

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions Lombiq.Analyzers/CommonPackages.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<AnalyzerPackage Include="AsyncFixer" Version="1.6.0"/>
<AnalyzerPackage Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59"/>
<AnalyzerPackage Include="Meziantou.Analyzer" Version="2.0.85"/>
<AnalyzerPackage Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.7.0"/>
<AnalyzerPackage Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.4"/>
<AnalyzerPackage Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.7.30"/>
<AnalyzerPackage Include="SecurityCodeScan.VS2019" Version="5.6.7"/>
Expand Down
7 changes: 1 addition & 6 deletions Lombiq.Analyzers/NetFx.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>
</PropertyGroup>

<!-- .NET Framework-only packages. -->
<ItemGroup>
<AnalyzerPackage Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.6.0"/>
</ItemGroup>

<Import Project="$(MSBuildThisFileDirectory)CommonPackages.props" />

<ItemGroup>
Expand All @@ -47,7 +42,7 @@
'C:\Users\runneradmin\.nuget\packages\microsoft.codeanalysis.csharp.codestyle\4.7.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.CodeStyle.dll' #spell-check-ignore-line
references version '4.7.0.0' of the compiler, which is newer than the currently running version '4.6.0.0'."
kind. -->
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.6.0">
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.7.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers;</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 42884e6

Please sign in to comment.