question

MATSUOKAHiroshi-3894 avatar image
0 Votes"
MATSUOKAHiroshi-3894 asked MATSUOKAHiroshi-3894 answered

cl.exe - /analyze:ruleset option

Hello. I found "/analyze:ruleset option" of cl.exe in the Visual Stusio 2017 15.7 Release note. I would like to use this option but unfortunately I use Visual Stusio 2017 15.6.6 and I can't change this Version because of my company's policy. My question is Is there a way to use this option on Visual Stusio 2017 15.6.6. I'm really glad if I can hear from anyone with a solution.

vs-generalvs-extensions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered

Hi MATSUOKAHiroshi,

If possible, you can install a individual build tool in your environment. And it won't modify your visual studio.

The build tool: https://docs.microsoft.com/en-us/visualstudio/productinfo/installing-an-earlier-release-of-vs2017#installing-the-earlier-release
78683-image.png

The directory cl.exe locates: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (2.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MATSUOKAHiroshi-3894 avatar image
0 Votes"
MATSUOKAHiroshi-3894 answered

Hi Dylan,
Thank you for the reply.
Unfortunately I couldn't apply this way to my environment this time because I have to use only Ver15.6.6 cl.exe to compile my product for some reasons.
But there is a possibility to be able to use in other product environment.
Your anwer helps me a lot.
Thank you so much again.

Best Regards,
Hiroshi Matsuoka

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.