Daniel San
Daniel San

Reputation: 2026

Can I see the command given to the compiler to build a project?

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

Answers (4)

Jeremy Thompson
Jeremy Thompson

Reputation: 65554

Use Process Monitor to see the CSC.exe command used by Visual Studio.

Upvotes: 1

Ray Cheng
Ray Cheng

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

Sando
Sando

Reputation: 667

Go to the Output tab at : Menu -> Debug -> Windows -> Output

Upvotes: 0

hridya pv
hridya pv

Reputation: 1059

I am not sure but are you looking for this command line building

Upvotes: 0

Related Questions