我正在做一个有3个项目(c#)的解决办法。
- Main executable project
- Dll
- Dll
Main project has references to others. I want to have following file structure in my main project:
main.exe
Libraries - folder
+ 2.dll
+ 3.dll
但不幸的是,VS将这些DL文件存放到EXE地点。
有什么简单的解决办法?
我正在做一个有3个项目(c#)的解决办法。
Main project has references to others. I want to have following file structure in my main project:
main.exe
Libraries - folder
+ 2.dll
+ 3.dll
但不幸的是,VS将这些DL文件存放到EXE地点。
有什么简单的解决办法?
你们可以改变有关儿童DLLs的输出途径,以指明图书馆。
然而,这不是一条标准道路。 如果你试图部署这支部队,那么,如果你手上从这些地点卸下武器,则你可能会有问题。
如果你的项目参考书标为当地版,那么我并不认为你可以把视觉演播室的档案转换成配置。
但是,你可以在每栋楼后自动将档案移至所希望的子宫。
<>Update>
我爱这个网站,因为它使我能够每天学习新的东西。 作为一个例子,我刚刚发现,即:你可以在你的卷宗中添加其他途径,以补充标准检验途径。
这一配置要素允许。 查询<代码>图书馆代码> DLs装货的夹,以便你在工作完成后无需做任何额外工作(你仍需要使用后布指挥将其移至该名录)。
这里是支持你的组合的集邮录:
<configuration>
<runtime>
<assemblyBinding>
<probing privatePath="binlibraries"/>
</assemblyBinding>
</runtime>
</configuration>
我有同样的问题,但以往的例子没有奏效。 只有在我指出这一计划之后,一切都做了以下工作:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Libraries"/>
</assemblyBinding>
</runtime>
</configuration>
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...