DevSkim icon indicating copy to clipboard operation
DevSkim copied to clipboard

Compatibility with dotnet v6

Open nvuillam opened this issue 3 years ago • 6 comments

Is seems that devskim cli is available for dotnet v5 but not dotnet v6

Is it planned to upgrade it so it is dotnet v6 compliant ?

nvuillam avatar Aug 05 '22 16:08 nvuillam

Yes. This is part of #390. I've made good progress on the rewrite and I hope to have a beta of the rewritten CLI released next week.

gfs avatar Aug 05 '22 17:08 gfs

@gfs thanks for your quick response :)

nvuillam avatar Aug 05 '22 18:08 nvuillam

@nvuillam Good news. I have released a preview of DevSkim 0.7 on nuget - this uses .NET 6. You can grab the latest with dotnet tool install -g Microsoft.CST.DevSkim.CLI --prerelease. Please let me know if you encounter any problems. I'm working for the next few weeks on rewriting the IDE extensions as well, so there will be a few weeks while it remains in a pre-release state.

gfs avatar Aug 15 '22 21:08 gfs

Thanks a lot ! MegaLinter embeds only official releases, but we can try to embed DevSkim CLI in a sub branch until DevSkim for dotnet v6 is official :)

nvuillam avatar Aug 15 '22 21:08 nvuillam

@nvuillam sorry for the delay. It's taking a bit longer than I'd hoped to resolve the extension issues.

Unfortunately I won't be able to dedicate much time to this for the next couple weeks. I may investigate if I can do a either a 0.7 cli or a 0.6 that supports .Net 6.0 release next week (and leave the IDE refactors for later).

Thanks for your patience.

gfs avatar Oct 01 '22 00:10 gfs

@gfs thanks for the update :)

nvuillam avatar Oct 01 '22 00:10 nvuillam

We have spent a fair bit of time on this in the last two weeks and I think we're getting close. We've been having trouble getting the VS extension to build in the pipeline.

I believe I'll have a stable net 6 based release out next week.

gfs avatar Oct 14 '22 23:10 gfs

Successfully built with .Net 6 after updating the VS SDK Build Tools package (and lots of head-to-keyboard interactions). Currently pending PR to apply the fix to net6on6 branch.

daalcant avatar Oct 17 '22 21:10 daalcant

NET 6 support should now be live on nuget with 0.6.30.

gfs avatar Oct 19 '22 00:10 gfs