PC Review

Thread Tools Rate Thread

Can <bindingRedirect> apply to assemblies not in the GAC?

Posts: n/a
      22nd Jul 2010

I'm dealing with a legacy .Net 1.1 app with a /bin folder that
contains hundreds of assemblies. Most of those assemblies reference a
legacy AuthKeeper.dll assembly, version, which also resides in
that /bin folder (so no, it's not in the GAC).

I have an updated AuthKeeper.dll, version, where I've changed
the internals of many functions, but it is backwards compatible. What
I would like to do is to have all those legacy assemblies point to the
new AuthKeeper.dll without having to update all the references

I added AuthKeeper v. 2 to the GAC and then added this to the top of
my machine.config file for .Net 1.1:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity name="AuthKeeper"
publicKeyToken="6e158a01149e9e07" culture="neutral" />
<bindingRedirect oldVersion=""
newVersion="" />

But after removing the legacy AuthKeeper.dll, it comes back with:

System.IO.FileNotFoundException: Could not load file or assembly
'AuthKeeper, Version=1.0.2804.14599, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot
find the file specified.

Can anyone think of how to do what I want to do?

Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Type.GetCommonAttributes() works on c# assemblies, not managed c++ assemblies. brad Microsoft Dot NET Framework 1 4th Mar 2007 03:43 PM
Loading resources from satellite assemblies of reflection loaded assemblies.. npthomson@gmail.com Microsoft C# .NET 0 23rd Nov 2006 06:08 PM
Strong Named Assemblies and Non Strong Named assemblies David W Microsoft Dot NET Framework 1 21st Oct 2004 07:55 PM
inventory for assemblies and part of assemblies Chris Microsoft Access Getting Started 1 21st Oct 2004 06:19 AM
Why not make all assemblies as Strong Named Assemblies =?Utf-8?B?U3JpbmlL?= Microsoft Dot NET Framework 8 25th Sep 2004 07:49 AM




All times are GMT +1. The time now is 03:23 PM.