首页 > 解决方案 > How to see the commands issued in Visual Studio for "Build > Rebuild Solution" menu option?

问题描述

I am working with Visual Studio Community 2019 in Windows 10. I have a solution which has multiple projects of different types.

I open that solution in Visual Studio Community 2019. Then click on "Build > Rebuild Solution" menu option to rebuild it. In the Output tab I can see output from Build. That output shows me the result of rebuild but it does not show me what command(s) were issued to start the rebuild. How can I see those command(s) issued by Visual Studio?

I want to know what happens so I can write a script (window .bat or powershell) to do it outside of VStudio if needed.

Thanks

标签: c#visual-studio

解决方案


Visual Studio 生成使用 MSBuild。您可以增加构建详细程度以获得大量文本转储,但我建议使用Project System Tools插件来记录二进制构建日志以导出到MSBuild Log Viewer


推荐阅读