我想知道在Visual Studio 2012中构建项目时是否有可能查看给编译器的命令。如何实现?
(我对 .Net C# 项目感兴趣)
我想知道在Visual Studio 2012中构建项目时是否有可能查看给编译器的命令。如何实现?
(我对 .Net C# 项目感兴趣)
TOOLS -> 选项 -> 项目和解决方案 -> 生成和运行 -> MSBuild 项目输出详细程度 -> 正常
然后你将在输出
窗口中看到你想要的内容。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 ...
CSC.exe
命令。csc.exe
。 - Jeremy Thompson前往输出选项卡: 菜单 -> 调试 -> 窗口 -> 输出
'ConsoleApplication8.vshost.exe' (Managed (v4.0.30319)): Loaded '....dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
我想知道给编译器构建项目的命令是什么。 - Daniel San