Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rolsynator fix - Cant get IDExxxx rules working. #1059

Open
Pentadome opened this issue Mar 24, 2023 · 0 comments
Open

Rolsynator fix - Cant get IDExxxx rules working. #1059

Pentadome opened this issue Mar 24, 2023 · 0 comments

Comments

@Pentadome
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant