472,961 Members | 2,000 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Can't remove old version of external assembly

I'm having a problem with being unable to remove a
reference to an old, nonexistent version of a strongly-
named assembly.

I should mention that my issues arose at the same time I
upgraded from v 1.0.3705 to v 1.1.4322 of the framework
(and to the 2003 IDE); I've been recompiling old 1.0
components.

I had created the assembly and installed in the GAC with a
version # of 1.0.0.2. This assembly, DBParameter, was used
by a serviced component. I uninstalled from the GAC and
created a new version, now up to 1.0.1.4.

The problem is, my components referencing this assembly
refuse to give up the old assembly reference to version
1.0.0.2 -- even though it's been long gone from my box and
the GAC.

What's happening is my manifests are showing a reference
to the new DBParameter, but also to the old one, with an
alias, like so:

..assembly extern DBParameter
{
.publickeytoken = (E9 B4 14 50 D7 FC 48
40 ) // ...P..H@
.ver 1:0:1:4
}
..assembly extern DBParameter as DBParameter_7
{
.publickeytoken = (F7 01 A2 50 74 2F 79
FE ) // ...Pt/y.
.ver 1:0:0:2
}
No matter what I do, I can't get rid of this old assembly
reference. I've used a brand new key file to compile the
new version, yet my apps using this assembly insist on
looking for the old one too (and of course the public key
token is long gone).

Any suggestions on how to break this dependency? I am in
assembly hell ....

TIA,
Paul Klanderud
Jul 19 '05 #1
1 3045
I found the solution to my own problem. One of the other
assemblies my app referenced had an old reference to the
old version -- I thought I had recompiled it, but hadn't.

Paul

-----Original Message-----
I'm having a problem with being unable to remove a
reference to an old, nonexistent version of a strongly-
named assembly.

I should mention that my issues arose at the same time I
upgraded from v 1.0.3705 to v 1.1.4322 of the framework
(and to the 2003 IDE); I've been recompiling old 1.0
components.

I had created the assembly and installed in the GAC with aversion # of 1.0.0.2. This assembly, DBParameter, was usedby a serviced component. I uninstalled from the GAC and
created a new version, now up to 1.0.1.4.

The problem is, my components referencing this assembly
refuse to give up the old assembly reference to version
1.0.0.2 -- even though it's been long gone from my box andthe GAC.

What's happening is my manifests are showing a reference
to the new DBParameter, but also to the old one, with an
alias, like so:

..assembly extern DBParameter
{
.publickeytoken = (E9 B4 14 50 D7 FC 48
40 ) // ...P..H@
.ver 1:0:1:4
}
..assembly extern DBParameter as DBParameter_7
{
.publickeytoken = (F7 01 A2 50 74 2F 79
FE ) // ...Pt/y.
.ver 1:0:0:2
}
No matter what I do, I can't get rid of this old assembly
reference. I've used a brand new key file to compile the
new version, yet my apps using this assembly insist on
looking for the old one too (and of course the public key
token is long gone).

Any suggestions on how to break this dependency? I am in
assembly hell ....

TIA,
Paul Klanderud
.

Jul 19 '05 #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...
2
by: tvaidie | last post by:
Hi all I have two one signing assembly registered in GAC in two different version. I want to remove them but I don't seem able to do so. First I used gacutil.exe, failed with this error...
4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
3
by: Paul Klanderud | last post by:
I'm having a problem with being unable to remove a reference to an old, nonexistent version of a strongly- named assembly. I should mention that my issues arose at the same time I upgraded from...
3
by: Siv | last post by:
Hi, A little while ago I wrote a small program that allowed the user to view products from a database. The database holds the details of the products which can be viewed via a form and...
11
by: cybervigilante | last post by:
I can't seem to change the include path on my local winmachine no matter what I do. It comes up as includ_path .;C:\php5\pear in phpinfo() but there is no such file. I installed the WAMP package...
14
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
6
by: Andrus | last post by:
VCSE 2005 .NET 2 WinForms I created assembly at runtime and added mydll.dll reference to it. mydll.dll is in applicatino startup directory. When I change mydl.dll to never version, this assembly...
2
by: =?Utf-8?B?Unlhbg==?= | last post by:
I am using vb.net to launch an external application (.exe); how do I capture this external applications's version number in my vb.net app?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.