Home All Groups Group Topic Archive Search About

Assembly redirection problems...

Author
22 Feb 2007 8:45 AM
Sinex
Hi !
  I've developed a strong named assembly (dll) thats being used by a client
application(exe). The dll is deployed to the application directory only. Now
i have a new version of the dll.  I replace the old version with the new
dll.
I dont want to recompile the client. Hence I just added a <bindingRedirect>
entry in the
app config file..but the client app still picks up the old verison!

I dont want to deploy my dll to the GAC. Hence that eliminates the
possibility of using publisher poilicy file. I want the client
to make a change only in the app config.

BTW...is it a good idea to make bindingRedirect chages in the machine config
file?

Any recommendations?

...Sinex

Author
22 Feb 2007 5:35 PM
Mattias Sjögren
>Hence I just added a <bindingRedirect>
>entry in the
>app config file..but the client app still picks up the old verison!

Can you post that part of your config file? It sounds like it should
work.


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

AddThis Social Bookmark Button