Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Visual Studio 解决方案中有很多项目(c#)。我想创建一个脚本文件,它可以将项目的配置更改为调试/发布。是否有任何命令可以从命令提示符执行此操作?
提前致谢
瓦伦
不确定是否有这样的设置。在命令行中批量构建多个解决方案的替代方法,通过命令将所有解决方案文件列出到一个列表中并迭代每个解决方案名称,并使用 msbuild 命令与您想要的正确配置。