473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Assembly version redirecting..

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 <bindingRedirectentry 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
Feb 22 '07 #1
1 2110
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" <ma*********@honeywell.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
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 <bindingRedirectentry 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


Feb 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
7
by: Ruslan Popov | last post by:
Hi, I am trying to prevent an assembly being loaded from GAC and instead want it loaded from the application's base directory. However, the assembly always gets loaded from GAC. How to have it...
4
by: Bob | last post by:
I want to use a 3rd party assembly that links to a "4th party assembly." My problem is that I use a newer version of that 4th party assembly. When I add the assemblies as references to my...
4
by: Stefan | last post by:
Hi, I have an application that consists of multiple strong-named assemblies like: App.exe references Utils.dll (for simplicities sake) All assemblies are strong-named, but not GAC'd...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
7
by: R Reyes | last post by:
Can someone please explain to me why I can't get the MS Word Interop assembly to work in my VS2005 project? I'm trying to manipulate MS Word from my Web Form application and I can't get passed...
2
by: Tham | last post by:
Hi I have two assemblies with the same name (e.g MyData.dll) Both assemblies are strong name and have different version (one is 1.0.0.1 and the other is 1.0.0.2) There are some applications...
1
by: Perry Langla | last post by:
Hi, I ran across some information about redirecting assembly version. It said you can use a redirect statement in the app.config file. Could someone please help me with this redirect statement....
1
by: Kenneth Porter | last post by:
Using VS2008. I've got two teams developing different parts of an app, so a C++/CLI DLL used by a C# app changes frequently. I'm finding that the C# project team must delete and re-add a reference...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.