I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild
, but I wasn't able.
What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine.
To compile source files from within the Visual Studio IDE, choose the Build command from the Build menu.
If you have Visual Studio, then you already have MSBuild installed. With Visual Studio 2022, it's installed under the Visual Studio installation folder. For a typical default installation on Windows 10, MSBuild.exe is under the installation folder in MSBuild\Current\Bin.
Menu Tools → Options → Projects and Solutions → Build and Run → MSBuild project build output verbosity: Diagnostic
Open the project properties dialog, then choose
Configuration Properties → C/C++ → General
Change the setting for Suppress Startup Banner
to No
The cl
command line(s) will be shown in the output window.
Visual Studio 2008:
Go to menu Tools → Options then Project and Solutions → Build and Run section. You have a combo box for verbosity.
C++ compiler option (project properties):
If you're running MSBuild, you can set the /v:diag flag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With