如何告诉MSBuild我的编译文件放在哪里? [英] How to tell MSBuild where to put my compiled files?
本文介绍了如何告诉MSBuild我的编译文件放在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Nant来编译ASP.NET MVC应用,到目前为止,我的构建脚本只运行ms build并运行其他一些任务,但是我希望将编译后的文件放在"build"目录中,如何告诉msbuild将编译文件放在哪里?
I'm trying to use Nant to compile an ASP.NET MVC app, so far my build script just runs ms build and runs some other tasks, however I want my compiled files to be put in a "build" directory, how can I tell msbuild where to put the compiled files?
推荐答案
在这里查看:
http://msdn.microsoft.com/en-us/library /ms164311.aspx
它指定您可以将msbuild设置为覆盖项目文件中的输出目录设置,如下所示:
it specifies that you can set msbuild to override the output dir setting in your project file, like so:
/properties:OutputDir=bin\Debug
这是您想要的吗?
这篇关于如何告诉MSBuild我的编译文件放在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文