Using different versions of the same DLL in a project

In my project I have to use different versions of AWSSDK dll’s, in order to make this i took help of this post . and added one of my dll in to a folder named V-1 inside bin folder. Then made config changes like this

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="AWSSDK" publicKeyToken="CD2D24CD2BACE800" culture="neutral" />
            <codeBase version="" href="V-1AWSSDK.dll" />
            <codeBase version="" href="AWSSDK.dll" />

But I still gets the error like this

Error 2 Could not load file or assembly ‘AWSSDK, Version=, Culture=neutral, PublicKeyToken=cd2d24cd2bace800’ or one of its dependencies. The system cannot find the file specified. E:Live Web.config 129

At this line in web-Config

 <add assembly="AWSSDK, Version=,  Culture=neutral, PublicKeyToken=CD2D24CD2BACE800" />

Can anyone please point-out what I am doing wrong??

Source: dll

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.