Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Errors updating project NuGet packages

$
0
0

It'a gotten a little scary to update all my NuGet packages as I always seem to have errors after I do.

I just did this now and had two issues.

  1. I'm getting about a dozen of the following error.

    Warning CS8032 An instance of analyzer Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer cannot be created from C:\Users\jwood.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll: Could not load type 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' from assembly 'Microsoft.CodeAnalysis.Analyzers, Version=3.3.3.10305, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

  2. I had some compatibility errors and several packages that refused to install. On closer inspection, I see the package manager is trying to install version 7 libraries when my project uses .NET 6. Why would Package Manager want to install incompatible libraries?

enter image description here


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>