如何使MSBuild的自动复制到输出的所有间接引用(箱)文件夹 [英] How to make MSBuild to automatically copy all indirect references to output (bin) folder

查看:495
本文介绍了如何使MSBuild的自动复制到输出的所有间接引用(箱)文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SUBJ。

自动这里是至关重要的。从GAC引用必须不能被复制。

"Automatically" is essential here. References from GAC must not be copied.

我已经看到了如<一href="http://stackoverflow.com/questions/634365/vs2008-net-getting-a-referenced-projects-dependencies-to-copy-to-main-projects">VS2008.NET:获取引用的项目的依赖关系复制到主项目的bin文件夹,这是不感兴趣的我。我想所有的依赖关系自动被复制。

I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder, and this isn't interesting for me. I'd like all the dependencies get copied automatically.

推荐答案

使用后生成事件
修改

XCOPY c:/additionlib $(OutDir)

这篇关于如何使MSBuild的自动复制到输出的所有间接引用(箱)文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆