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

'CppcheckPlugin' Description: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=17.3.0.0 #224

Open
jjkalafut opened this issue Oct 12, 2022 · 5 comments

Comments

@jjkalafut
Copy link

I'm having this issue after installing in VS2022.
I did notice that app.config has

Perhaps that needs to be 17.3?

I do have cppcheck installed and working on the PC, just the extension is giving me issues.

@jjkalafut
Copy link
Author

markup issue in my first commen, should be app.config has: bindingRedirect oldVersion="0.0.0.0-15.8.0.0" newVersion="15.8.0.0"

@VioletGiraffe
Copy link
Owner

Which release have you tried, is it the new 1.5 for VS2022?

@jjkalafut
Copy link
Author

Yep, i haven't used any older ones. Downloaded today. The error is the normal 'plugin couldnt load', but i coped that reference from the vs activity log.

@0x416c69
Copy link

0x416c69 commented Nov 1, 2022

@VioletGiraffe Same problem here. Using Visual Studio Enterprise 2022 - LTSC 17.2.8, the plugin does not work at all.

chrome_2022-11-01_18-42-34

@boolCoder99
Copy link

boolCoder99 commented Sep 25, 2023

Had the same issue and could "solve" it.
I tried changing the app.config first, but Visual Studio kept used it's own Threading.dll of version 17.1.xx located at Visual Studio 2022\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Threading.17.x
I just downgraded all the Dependencies in Nuget to 17.1.xx and rebuilt the plugin. Now it works for me.
Upgrading the DLL resulted in VS not starting anymore :/

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

4 participants