How can I see the Visual Studio 2008 Build Command Line?

When I'm in Visual Studio, I press F5 to do the build.
Is there a way to see the MSBUILD executable command line?

Building is not performed inside Visual Build Pro, but when it starts from Visual Studio 2008 (pressing F5), it succeeds.

Here is the command line used inside Visual Build Pro:

  C: \ WINDOWS \ Microsoft.NET \ Framework \ v3.5 \ msbuild.exe C: \ Code \ EduBenesysNET \ EduBenesysNET \ EduBenesysNET.vbproj / t: publish / p: Configuration = Release / p: Platform = AnyCPU / v: detailed / p: PublishDir = "\\ BSIIS3 \ c $ \ DATA \ WEBSITES \ benesys.net \ benesys.net \ TotalEducationTest \" /p:InstallUrl="https://www.benesys.net/benesys.net/TotalEducationTest/ "/p:ApplicationVersion=1.0.1.198 / p: ProductName =" Total Education TEST "/ p: PublisherName =" BeneSys, Inc. "  / p: UpdateRequired = "True" /p:MinimumRequiredVersion=1.0.1.198
+4
source share
1 answer

I don’t think you see the command line executed in Visual Studio, but you can set MSBuild verbosity to diagnostic in Visual Studio and then compare the output with the output using Visual Build Pro.

Tools > Options > Project and Solution > Generate and execute > "MSBuild verbosity" to Diagnostic 

To set MSBuild verbosity at the command line, add /v:diag

 C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.exe /v:diag C:\Code\EduBenesysNET\EduBenesysNET\EduBenesysNET.vbproj /t:publish /p:Configuration=Release /p:Platform=AnyCPU /v:detailed /p:PublishDir="\\BSIIS3\c$\DATA\WEBSITES\benesys.net\benesys.net\TotalEducationTest\" /p:InstallUrl="https://www.benesys.net/benesys.net/TotalEducationTest/" /p:ApplicationVersion=1.0.1.198 /p:ProductName="Total Education TEST" /p:PublisherName="BeneSys, Inc." /p:UpdateRequired="True" /p:MinimumRequiredVersion=1.0.1.198 
+3
source

All Articles