Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To see all command line on output window while compiling

I want to see all commands while building/releasing on the output window. When I build my app I only see this:

------ Build started: Project: CemKutuphane, Configuration: Debug Any CPU ------
  CemKutuphane -> D:\Projects\Test\CemKutuphane\CemKutuphane\bin\Debug\CemKutuphane.dll
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

There is no csc.exe args in these lines. But visual studio ide is running behind of this. Is there any way to see the all commands?

like image 604
uzay95 Avatar asked Jan 26 '12 09:01

uzay95


People also ask

How do I view a Windows output?

The Output window displays status messages for various features in the integrated development environment (IDE). To open the Output window, on the menu bar, choose View > Output, or press Ctrl+Alt+O.

How do I view output in Visual Studio?

To display the Output window whenever you build a project, in the Options dialog box, on the Projects and Solutions > General page, select Show Output window when build starts.

How do I pull up the console in Visual Studio?

The Visual Studio terminal is built on top of Windows Terminal. To open the terminal in Visual Studio, select View > Terminal.


1 Answers

dknaack's answer is correct so I'll repeat it in its entirity until he un-deletes it:

You can set the verbosity level on

Options > Projects and Solutions > Build and Run > MSBuild project build output verbosity

I've tried this and found that setting the logging to "Normal" or above showed the csc.exe command line being executed, like this:

1>CoreCompile:
1>  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:2008,1701,1702 ...

Note that you might need to Clean the project beforehand in order to see this - if the project is already up-to-date then MSBuild will skip several tasks.

like image 92
Justin Avatar answered Oct 23 '22 17:10

Justin