要查看输出窗口中的所有命令行编译时 [英] To see all command line on output window while compiling

查看:135
本文介绍了要查看输出窗口中的所有命令行编译时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看到的所有命令,同时建立/释放输出窗口上。
当我建立我的应用程序,我只看到这一点:

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 ==========

有没有CSC.EXE ARGS在这些线路。但是,Visual Studio IDE中运行这个落后。
是有什么办法可以看到的所有命令?

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?

推荐答案

dknaack的答案是正确的,所以我会重复在条款内容,直到他未将其删除:

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

您可以设置

选项>项目和解决方案>生成和运行> MSBuild项目
生成输出的详细程度

我试过这个,发现日志记录设置为正常或以上显示 CSC.EXE 命令行中执行,像这样的:

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 ...

请注意,您可能需要为清除项目事前才能看到这一点 - 如果项目已经是最新的,然后的MSBuild将跳过几个任务。

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.

这篇关于要查看输出窗口中的所有命令行编译时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆