473,785 Members | 2,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Duplicate GAC assemblies. Why? Safe to delete redundant copies?

The global assembly cache on my development computer has duplicate native
images of several System assemblies. For instance, the System assembly itself
is present as two different native images, as well as a non-native version.
The native images have different date/time stamps -- although they differ
only by 3 days in Feb/2004.

Many of the System.* packages have similar redundant native images.

Why are there redundant native image assembly in my GAC?

Is it safe, useful, and/or wise to delete the duplicate native image
assemblies?

Thanks for the information. Please advise if this message should be posted
to another group.
Jul 21 '05 #1
4 2968
"GlobalBruc e" <Gl*********@di scussions.micro soft.com> wrote in message
news:D0******** *************** ***********@mic rosoft.com...
The global assembly cache on my development computer has duplicate native
images of several System assemblies. For instance, the System assembly
itself
is present as two different native images, as well as a non-native
version.
The native images have different date/time stamps -- although they differ
only by 3 days in Feb/2004.

Many of the System.* packages have similar redundant native images.

Why are there redundant native image assembly in my GAC?

Is it safe, useful, and/or wise to delete the duplicate native image
assemblies?

Thanks for the information. Please advise if this message should be posted
to another group.


Different versions of the Framework?
Jul 21 '05 #2
I don't think so. The assembly name, version number, and public key token are
exactly the same for all three assemblies. Only the last modified date
differs between the two native images. This looks to me like the versions are
the same.

This is true for all the duplicate assemblies in my GAC.

Hence my original questions.

"Patrick" wrote:
"GlobalBruc e" <Gl*********@di scussions.micro soft.com> wrote in message
news:D0******** *************** ***********@mic rosoft.com...
The global assembly cache on my development computer has duplicate native
images of several System assemblies. For instance, the System assembly
itself
is present as two different native images, as well as a non-native
version.
The native images have different date/time stamps -- although they differ
only by 3 days in Feb/2004.

Many of the System.* packages have similar redundant native images.

Why are there redundant native image assembly in my GAC?

Is it safe, useful, and/or wise to delete the duplicate native image
assemblies?

Thanks for the information. Please advise if this message should be posted
to another group.


Different versions of the Framework?

Jul 21 '05 #3
For instance, the System assembly itself
is present as two different native images, as well as a non-native version.


The native images aren't really in the GAC, they are in the NGEN
cache. It's just that the fusion shell extension shows a combined view
of the two.

Use Ngen.exe /show to see details on the native assemblies (including
what differs between them), and Gacutil.exe to list the GAC content.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #4
AHA! The NGEN cache has both a debug and non-debug version of the System
assemblies. Mystery solved.

Thanks, Mattias!

"Mattias Sjögren" wrote:
For instance, the System assembly itself
is present as two different native images, as well as a non-native version.


The native images aren't really in the GAC, they are in the NGEN
cache. It's just that the fusion shell extension shows a combined view
of the two.

Use Ngen.exe /show to see details on the native assemblies (including
what differs between them), and Gacutil.exe to list the GAC content.

Mattias

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

Jul 21 '05 #5

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

Similar topics

44
4070
by: Xah Lee | last post by:
here's a large exercise that uses what we built before. suppose you have tens of thousands of files in various directories. Some of these files are identical, but you don't know which ones are identical with which. Write a program that prints out which file are redundant copies. Here's the spec. -------------------------- The program is to be used on the command line. Its arguments are one or
2
1728
by: jbailo | last post by:
I have been working with c#/dotnet and mono and also the Gtk toolkit ( I have used Qt as well). I am working on a java project at work too. My question is: why do we need to have local assemblies or libraries for link or run? Can't a single 'framework server' be set up on the Internet to sent the services of the framework?
0
1061
by: GlobalBruce | last post by:
The GAC on my development computer has several assemblies which are duplicated. For instance, the System assembly is present as two different native images as well as the non-native version. The native images differ by date/time stamp -- although they are only different by 3 days during Feb/2004. Many of the System assemblies have similar duplicated native images. Why are there multiple copies of these assemblies? Is it safe, useful,...
6
1720
by: Tom Dacon | last post by:
If you're not putting assemblies in the GAC, but are referencing shared code with copylocal=true into the projects that use them, is there any value to signing the assemblies? In the environment I've just begun to work in, there are customer-facing web sites, internally-accessed maintenance and admin web sites, middle-tier business logic assemblies, services, and Windows Forms apps that run on the middle-tier. The policy is to sign the...
4
1668
by: MLH | last post by:
I never quite figured out how to reconfigure it to automatically delete redundant entries. Of course, one cannot always blatantly blow redundant records away w/o regard to which one it is that you wish to keep. But, sometimes you can. Anybody developed anything like this? (used powrmail tblEFaganReps) ==> ignore personal alzheimer note
4
373
by: GlobalBruce | last post by:
The global assembly cache on my development computer has duplicate native images of several System assemblies. For instance, the System assembly itself is present as two different native images, as well as a non-native version. The native images have different date/time stamps -- although they differ only by 3 days in Feb/2004. Many of the System.* packages have similar redundant native images. Why are there redundant native image...
0
2481
by: =?Utf-8?B?aGVyYmVydA==?= | last post by:
I read from a serialport using a worker thread. Because the worker thread t does not loop often, I cannot wait to terminate the worker thread using a boolean in the While condition. So I have a StopReader() method that simply aborts the worker thread (is there a better way for the above situation?). The StopReader creates an ObjectDisposedException when calling t.Abort(). WHY? Public Sub StopReader()
29
4255
by: Jon Slaughter | last post by:
Is it safe to remove elements from an array that foreach is working on? (normally this is not the case but not sure in php) If so is there an efficient way to handle it? (I could add the indexes to a temp array and delete afterwards if necessary but since I'm actually working in a nested situation this could get a little messy. I guess I could set there values to null and remove them afterwards? Thanks, Jon
1
4097
watertraveller
by: watertraveller | last post by:
Hi all. My ultimate goal is to return two columns, where no single value appears anywhere twice. This means that not only do I want to check that nothing from column A appears in column B and vice-versa, but I also don't want the same value appearing twice in A and twice in B. So far I have: --Diff the columns INSERT INTO @Table SELECT One, Two FROM @Column1 a FULL OUTER JOIN @Column2 b
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8982
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...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
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
5386
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...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
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.