Skip to content

Commit

Permalink
Attempting to fix the "CSC : error CS9057: The analyzer assembly 'C:\…
Browse files Browse the repository at this point in the history
…Users\runneradmin\.nuget\packages\microsoft.codeanalysis.csharp.codestyle\4.7.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.CodeStyle.dll' references version '4.7.0.0' of the compiler, which is newer than the currently running version '4.6.0.0'. " error during .NET Framework builds
  • Loading branch information
Piedone committed Oct 2, 2023
1 parent 28b0502 commit ac7b00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.Analyzers/NetFx.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.."> by
adding "Microsoft.Net.Compilers.Toolset" manually; see:
https://docs.microsoft.com/en-us/answers/questions/244179/microsoftcodeanalysis-problem.html. -->
<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 ac7b00b

Please sign in to comment.