The C ++ compiler cl.exe , of course, may switch that /c (only compile, do not reference). Not sure about the msbuild system that the IDE uses and that works with .vcxproj files.
According to the documentation , this should work:
msbuild /target:Compile projectfile
or
msbuild /target:projectname:Compile solutionfile
You may also be interested in the /filelogger and /fileloggerparameters , which allow you to capture assembly messages.
Ben voigt
source share