-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Argument contains duplicate analyzer instances. (Parameter 'analyzers') #1592
Comments
I don't see Roslynator anywhere in the callstack. I would recommend to report this issue to Roslyn repo: https://github.com/dotnet/roslyn/issues. |
Broader issue being tracked here: https://developercommunity.visualstudio.com/t/Getting-Argument-contains-duplicate-ana/10806027 Seems like an issue with other analyzer tools as well (at least CodeRush, for which there is a hotfix). Is it possible there was a breaking change in VS v17.12.3 that impacts the Roslynator vsix as well? |
I've got the same issue here. Created a new console-application, and when trying to "Run Code Analysis on Solution", I get the same error. |
I see the same issue; all other extensions are disabled so there isn't a conflict with any other non-MS utilities. Other Roslyn analyzer extensions seem to work fine. |
I'm having the same issue. I hope they fix this asap! |
I believe this issue was fixed at some point, but it seems to be back with Roslynator 2022 v4.12..9 and Visual Studio 2022 v17.12.3.
Minimal repro:
File...New Project...Create a new Console App (.NET 9)
Press Alt + F11 to trigger Run Code Analysis on Solution
Edit
Disabling the extension and restarting VS 2022 allows the Run Code Analysis on Solution to complete without errors
The text was updated successfully, but these errors were encountered: