2

如何使用 devenv.com 在命令行窗口和外部日志文件中显示输出。我正在使用以下命令行来构建解决方案文件:

devenv.com  /Build "Release|Win32" SolutionFile.sln >> D:\SolutionLog.log

使用上面的命令行,输出只写入SolutionLog.log文件而不是命令行。如何修改上述命令以获取命令行中的命令以及外部日志文件。

4

1 回答 1

6

试试 /out 参数:

devenv.com  /Build "Release|Win32" SolutionFile.sln /out D:\SolutionLog.log
于 2013-02-04T23:30:49.243 回答