dotnet / roslyn-analyzers

MIT License
1.58k stars 463 forks source link

CS8034 Could not load analyzer assembly #6227

Open MadLongTom opened 1 year ago

MadLongTom commented 1 year ago

CS8034 Could not load analyzer assembly"C:\Users\xxx.nuget\packages\microsoft.codeanalysis.netanalyzers\6.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll: Could not load file or assembly“file:///C:\Users\xxx\AppData\Local\Temp\VS\AnalyzerAssemblyLoader\81734a69586a45c3888a685191b92ae8\16\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll”or one of its dependencies. Operation not supported. (HRESULT:0x80131515) Lagrange_Assistant (net6.0-windows10.0.19041.0)

I got this warning when opening my Maui solution on Visual Studio 2022,and tried to repair and update Visual Studio in its Installer,but got same warnings.

Youssef1313 commented 1 year ago

Maybe duplicate of https://github.com/dotnet/roslyn-analyzers/issues/5103 ?