[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.

Question
[x]
Attachment Details

Manifest or Config for DLL

Asked by Corey2 in .NET, Microsoft Visual Basic.Net, Visual Studio

Tags: Manifest, config, Visual Studio, 2008

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>
[+][-]11/11/09 01:09 PM, ID: 25799090Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/16/09 06:39 AM, ID: 25830524Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625