I am try to fix IDExxxx code analysis rules.
However when I try to run Roslynator.Dotnet.Cli -fix and I give the path to the visual studio analyzer assemblies, the assemblies fail to load.
Steps to Reproduce:
roslynator fix "PathToSolution" -v diag --analyzer-assemblies "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\VBCSharp" --ignored-diagnostics CA1822 CA1707 API1000 --properties "NoWarn=CS8625"Actual Behavior:
Cannot load assembly 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\VBCSharp\LanguageServices\Microsoft.CodeAnalysis.CSharp.dll' and hundreds of other messages like this.
All the code analysis rules that are referenced by the solution's nuget packages work, but the IDExxxx rules still don't work.
Product and Version Used:
I am try to fix IDExxxx code analysis rules. However when I try to run
Roslynator.Dotnet.Cli -fix
and I give the path to the visual studio analyzer assemblies, the assemblies fail to load.Steps to Reproduce:
roslynator fix "PathToSolution" -v diag --analyzer-assemblies "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\VBCSharp" --ignored-diagnostics CA1822 CA1707 API1000 --properties "NoWarn=CS8625"
Actual Behavior:Cannot load assembly 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\VBCSharp\LanguageServices\Microsoft.CodeAnalysis.CSharp.dll'
and hundreds of other messages like this.All the code analysis rules that are referenced by the solution's nuget packages work, but the IDExxxx rules still don't work.
Expected Behavior: IDExxxx rules to work.