PC Review


Reply
Thread Tools Rate Thread

Assembly version redirecting..

 
 
Sinex
Guest
Posts: n/a
 
      22nd Feb 2007
Hi !
I've developed a strong named assembly (dll) thats being used by a client
application(exe). Now i have a new version of the dll. I dont want to
recompile the client. Hence I just added a <bindingRedirect> entry in the
config file of the application. Both versions of the assembly are in the
GAC...but the client app still picks up the old verison only.

Any recommendations?

...Sinex


 
Reply With Quote
 
 
 
 
Sinex
Guest
Posts: n/a
 
      22nd Feb 2007
In particular, heres the log that i get:
=== Pre-bind state information ===
LOG: DisplayName = Engine, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=764034e4da632f6c
(Fully-specified)
LOG: Appbase = D:\Visual Studio 2003
Projects\WindowsApplications\StrongNameTest\Client\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : Client, Version=1.0.2608.28205, Culture=neutral,
PublicKeyToken=null.
===

LOG: Safe mode is set (applyPublisherPolicy=no).
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Engine, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=764034e4da632f6c


The Post-policy reference is also trying to get Version1.0...whereas I do
have a bindingRedirect that tells the app to pick version2.0

"Sinex" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi !
> I've developed a strong named assembly (dll) thats being used by a

client
> application(exe). Now i have a new version of the dll. I dont want to
> recompile the client. Hence I just added a <bindingRedirect> entry in the
> config file of the application. Both versions of the assembly are in the
> GAC...but the client app still picks up the old verison only.
>
> Any recommendations?
>
> ..Sinex
>
>



 
Reply With Quote
Reply

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
The application requires that assembly office Version 12.0.0.0 be installed in the Global Assembly Cache (GAC) first. Bill Nguyen Microsoft VB .NET 2 30th May 2008 11:17 PM
Redirecting Assembly Versions Perry Langla Microsoft Dot NET 1 4th Jan 2008 09:20 PM
Redirecting Assembly Binding Mark Olbert Microsoft Dot NET Framework 6 21st Feb 2006 10:36 AM
Redirecting assembly versions Steve Microsoft Dot NET Framework 2 30th Dec 2003 05:59 PM
Redirecting Assembly Versions Using Publisher Policy steve Microsoft Dot NET Framework 1 23rd Jul 2003 11:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:15 PM.