将MSBuild解决方案输出合并到一个文件夹 [英] Combine MSBuild solution output to one folder
本文介绍了将MSBuild解决方案输出合并到一个文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在MSBuild中覆盖解决方案中所有项目的输出以转到单个文件夹的最简单方法是什么?
What is the simplest way in MSBuild to override the output for all projects in a solution to go to a single folder?
推荐答案
您必须为/p:OutputPath =指定绝对路径,因为相对路径将相对于每个项目文件.
You have to specify an absolute path for /p:OutputPath= because a relative path will go relative to each project file.
这篇关于将MSBuild解决方案输出合并到一个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文