- vb.net通过app.config来改变编译路径
- 2008-10-24
- 改变编译路径的问题
- 2008-07-30
- .NET访问配置文件app.config的功能详解
- 2007-10-25
|
问题: 我先把我的意思讲一遍: 假如把一个A工程编译后: 会在Debug目录中生成以下文件: A.Exe A.pdb A.xml 引用的common.dll 我在制作setup文件后,我想 生成一个这样的目录: A目录中: bin\common.dll A.Exe 但现在A.exe 和common.dll不在一级目录上,就出错. 解决: 项目 右键-->追加-->应用配置文件-->添加一个app.config,然后加下以下代码: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="bin"/> </assemblyBinding> </runtime> </configuration>
|
