引用私有.NET程序集的一个子文件夹文件夹、程序、NET

2023-09-04 03:25:19 作者:无风无雨也无晴

在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

心连心

科尔比非洲