How to generate the Microsoft code analysis xml file in a Visual C++ project?

60 views Asked by At

I have created c++ project from visual studio 2019 and ran below syntax from command prompt. But log file was not generated. How to generate the Microsoft code analysis xml file in a Visual C++ project?

msbuild /t:Rebuild /p:Configuration=Release project.sln /p:RunCodeAnalysis=true /p:CodeAnalysisLogFile=output.xml

0

There are 0 answers