C#中,分了几个project,其中一个编译输出windows application,假设这个project名字叫exe.其余编译成dll. 编译成dll的project,输出路径到一个dll目录中(和可执行文件不在同一目录). 在exe里面应用了其余的project,如果把copy local设为true,则会把dll文件copy到exe目录中,而把copy local设为false,编译能通过,但是执行的时候会发现无法引用dll,请教如何解决这个问题
调试欢乐多
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>