473,795 Members | 3,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3102
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
8808
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 configuration every time there is an update to a shared assembly.
2
5790
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 message C:\>gacutil /u myCompany.theAssemblyName.dll Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
4
2630
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 understanding on how to create a setup program. All the articles about Windows Installer 2.0 is the best way to install your assembly into GAC but I haven't found one shows what exactly I need to do differently in my VS.NET setup project in order...
3
524
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 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
3
2860
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 additionally pictures of the product are stored in an images subfolder and the database holds the file name of the relevant picture. The user can then click a button to display the picture in a pop-up window and also another button to email the potential...
11
26643
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 and PEAR is in c:\wamp\php\pear I modified php.ini in the c:\wamp\php directory to reflect the actual path, but even stopping and restarting my server shows the c: \php5\pear path. I can't change it no matter what I do I also tried the...
14
2669
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 reference the same BLL in a separate assembly, and I have all three projects in a single solution file for development, with the two UI's each having a project reference to the BLL assembly. I created a Setup and Deployment package for the winform app...
6
15607
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 is not loaded anymore: error occurs which says that created assembly requires specific version of mydll.dll How to add assembly reference at runtime which does not require specific version ?
2
4835
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?
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.