引用私有.NET程序集的一个子文件夹 [英] Referencing private .net assemblies in a subfolder

查看:115
本文介绍了引用私有.NET程序集的一个子文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2008中,我可以添加项目引用,并设置复制本地属性设置为true。作为结果,引用的程序集将被复制到同一文件夹的主要组件是要建立

In Visual Studio 2008 I can add a project reference and set Copy Local property to true. As result the referenced assembly will be copied to the same folder the main assembly is build to.

但是,如果我想有所有引用的程序集的主要部件附近的一个子文件夹?

But what if I want to have all referenced assemblies in a subfolder near the main assembly?

事情是这样的:

..
myApp.exe
Libs
  myLib1.dll
  myLib2.dll
Data
  myDatabase.sqlite

PS: 这是对.NET Compact Framework的3.5

PS: This is the smart device application build against .NET Compact Framework 3.5

推荐答案

对于其他版本的框架,这是你会做什么:

For other versions of the framework, this is what you would do:

http://msdn.microsoft.com/en-us/library/ twy1dw1e.aspx

有关紧凑,我建议您阅读这样的:

For compact, I suggest reading this:

http://blogs.msdn.com/stevenpr/存档/ 2005/01/05 / 347353.aspx

心连心

科尔比非洲

这篇关于引用私有.NET程序集的一个子文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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