cppcheck-vs-addin icon indicating copy to clipboard operation
cppcheck-vs-addin copied to clipboard

Visual Studio 2022 support

Open roalz opened this issue 3 years ago • 9 comments

Can this extension be updated to support Visual Studio 2022?

roalz avatar Nov 09 '21 10:11 roalz

I hope so, but haven't looked into that yet.

VioletGiraffe avatar Nov 09 '21 11:11 VioletGiraffe

VioletGiraffe, could you take a look for VS2022 support? Thanks.

netmonitoring avatar Jan 04 '22 00:01 netmonitoring

I wish to have this on my VS 2022 for a current work in progress for the next weeks...

arsari avatar Jan 08 '22 14:01 arsari

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.

VioletGiraffe avatar Jan 15 '22 15:01 VioletGiraffe

Is it coming to VS 2022 at all at this point?

Ou7law007 avatar Mar 15 '22 16:03 Ou7law007

Can you make it happen? I couldn't.

VioletGiraffe avatar Mar 15 '22 17:03 VioletGiraffe

I don't have the knowledge or experience to do it unfortunately.

Ou7law007 avatar Mar 17 '22 20:03 Ou7law007

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).

VioletGiraffe avatar Mar 17 '22 23:03 VioletGiraffe

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

ReggThims avatar Mar 18 '22 11:03 ReggThims

@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 avatar Aug 12 '22 18:08 t-johnson

@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 avatar Aug 12 '22 20:08 VioletGiraffe

@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.

t-johnson avatar Aug 14 '22 13:08 t-johnson

Can a new release also be made available for VS2022 please ?

BoraxKid avatar Sep 02 '22 14:09 BoraxKid

@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.

VioletGiraffe avatar Sep 02 '22 15:09 VioletGiraffe

@BoraxKid I've made a release: https://github.com/VioletGiraffe/cppcheck-vs-addin/releases/tag/1.5

VioletGiraffe avatar Sep 16 '22 20:09 VioletGiraffe