在VS WPF安装程序中指定dll位置? [英] specify dll locations in VS WPF setup ?
问题描述
大家好,
我有一个具有2个项目的解决方案,其中一个控件库(Dll's)和一个WPF应用程序(Exe文件).
Hello All,
I have One solution that have 2 projects, in that projects one control library(Dll''s), And one WPF Application (Exe files).
Basically if I have create setup like so:
C:\Program Files\MyApp\Dll\ClassLibrary1.dll(All Dlls)
C:\Program Files\MyApp\MyTool.exe(All exe's)
etc
MyTool.exe也使用ClassLibrary1.dll.
当我进行设置时,默认情况下Tools文件夹还具有ClassLibrary1.dll,如何删除它.如果我手动移动(到Dll文件夹),MyTool.exe不起作用..如何解决此问题.
附加到示例项目的链接:- https://skydrive.live.com/redir?resid = D54B0993343A8868!140& authkey =!ANBzfyR5uxc4ZtU [ ^ ]
关于,
jophy
MyTool.exe also use the ClassLibrary1.dll .
When i make the setup the Tools folder also have the ClassLibrary1.dll by default, how to remove it.If i move manually(To Dll folder) the MyTool.exe not work .. how to solve the issue .
Attaching a link to sample project :- https://skydrive.live.com/redir?resid=D54B0993343A8868!140&authkey=!ANBzfyR5uxc4ZtU[^]
with regards ,
jophy
推荐答案
请查看我过去的回答:
强制项目从当前目录 [
Please see my past answer:
Forcing project to load DLL''s from the current directory[^].
—SA
这篇关于在VS WPF安装程序中指定dll位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!