Reputation: 2026
I was wondering if it is possible to see the command given to the compiler to build a project in Visual Studio 2012. How can I achieve that?
(I'm interesed in .Net C# projects)
Upvotes: 4
Views: 1213
Reputation: 65554
Use Process Monitor to see the CSC.exe
command used by Visual Studio.
Upvotes: 1
Reputation: 12576
Go and change it to TOOLS -> Options -> Projects and Solutions -> Build and Run -> MSBuild project output verbosity -> Normal
Then you'll see what you want in the Output
window.
Example output:
CoreCompile:
1> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation ...
Upvotes: 5
Reputation: 1059
I am not sure but are you looking for this command line building
Upvotes: 0