|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by Corey2 in .NET, Microsoft Visual Basic.Net, Visual Studio
I am trying to relax the version of a dll referenced by another dll
All the below assemblies are signed
Exe
ABC.DLL v1.0.0
XYZ.DLL v1.0.0
I want to allow ABC.DLL'S reference to XYZ to be relaxed to allow 2.0.0 using a config file. I was hoping to beable to have an ABC.DLL.Config file with the below XML to relax the dependency. This doesn't get loaded. I know if I include the same XML in the Exe.exe.config it will work but I don't want to modify that config file. I just want to distribute something with the dll that is self sufficient.
Any Suggestions?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="XYZ"
publicKeyToken="07120f88a15020d6" />
<bindingRedirect oldVersion="1.0.0.0"
newVersion="2.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
|
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625