cppcheck-vs-addin
cppcheck-vs-addin copied to clipboard
Visual Studio 2022 support
Can this extension be updated to support Visual Studio 2022?
I hope so, but haven't looked into that yet.
VioletGiraffe, could you take a look for VS2022 support? Thanks.
I wish to have this on my VS 2022 for a current work in progress for the next weeks...
Bumping the upper supported VS version to 17 in the vsixmanifest produces a VSIX file that's not installable in both 2019 and 2022. I've tried both ways - 18)
and 17]
. I don't understand what the problem is, if anyone can fix it - feel free.
Is it coming to VS 2022 at all at this point?
Can you make it happen? I couldn't.
I don't have the knowledge or experience to do it unfortunately.
I am quite curious as to why simply bumping the target VS version doesn't work (it did with the transition from 2017 to 2019), and why the resulting VSIX is not installable even in Vs2019. Could someone please explain this? I believe I even tried compiling it in VS2022, but I don't have it installed on this PC to try again and confirm (no possibility to install it right now).
On 17/03/2022 23:04, Violet Giraffe wrote:
I am quite curious as to why simply bumping the target VS version doesn't work (it did with the transition from 2017 to 2019), and why the resulting VSIX is not installable even in Vs2019. Could someone please explain this?
https://docs.microsoft.com/en-us/visualstudio/extensibility/migration/update-visual-studio-extension?view=vs-2022
@VioletGiraffe i can try to take this on. i've done this for another extension i built... are you okay with dropping support for VS 2019? If not, there will have to be two extension projects (with shared code) to target the two versions.
@t-johnson, please, be my guest! That would be great.
On the one hand, I would prefer to keep VS 2019 support for now, but on the other hand, the extension is more or less working and feature-complete, so the current version can simply be archived for VS 2019. Perhaps, create a new vs2019
branch, and then master branch can have all the latest and greatest?
@VioletGiraffe Okay creating a branch for VS2019 sounds great. i am getting the current project converted to target VS2022, upgrading nuget packages, etc. once i have done some testing i will make a PR for you.
Can a new release also be made available for VS2022 please ?
@BoraxKid, get the add-in from Appveyor: https://ci.appveyor.com/api/buildjobs/3pan1uvrvx744gmm/artifacts/CPPCheckPlugin%2Fbin%2FRelease%2FCppcheckPlugin.vsix Later I'll make a release, too.
@BoraxKid I've made a release: https://github.com/VioletGiraffe/cppcheck-vs-addin/releases/tag/1.5