DevSkim icon indicating copy to clipboard operation
DevSkim copied to clipboard

Seems not compatible to visual studio 2022.

Open eitanmiz opened this issue 7 months ago • 3 comments

I cannot see in vs 2022 (I got pro version) any of the suggestions that microsoft.devskim provides. I didn't find any way to install version 2.x.x.x (which seems better).

Also, it is too much to analyze the json file (by cli). Too many lines for the solution, and I need to read manually. It will be much better, whether I could check the recommendation in vs 2022 itself.

eitanmiz avatar Jun 10 '25 13:06 eitanmiz

Hi @eitanmiz,

Thanks for the report. We're aware of the extension having issues after recent VS Updates.

As an alternative we're developing a mode for the CLI to be leveraged as a build task in the csproj (see #689).

gfs avatar Jun 10 '25 15:06 gfs

Hi @eitanmiz,

Thanks for the report. We're aware of the extension having issues after recent VS Updates.

As an alternative we're developing a mode for the CLI to be leveraged as a build task in the csproj (see #689).

Why can't you just fix the extension???? C'mon - not everyone uses CLI for everything!

udlose avatar Aug 06 '25 17:08 udlose

I'm using VisualStudio 2022 Enterprise v17.14.11 with C# and I can't suppress any warnings: I don't get a "Suppress this issue (or anything related) over the squiggly for the warning. I get them for other addins/extensions so I know VisualStudio is working just fine. I've also tried using SuppressMessage, and the // DevSkim: ignore DS148264 until 2026-12-31 technique described on your site - nothing works...

udlose avatar Aug 06 '25 17:08 udlose