To see all command line on output window while compiling

前端 未结 1 2041
孤街浪徒
孤街浪徒 2021-02-19 20:28

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, Confi         


        
相关标签:
1条回答
  • 2021-02-19 21:28

    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.

    0 讨论(0)
提交回复
热议问题