473,320 Members | 1,580 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,320 software developers and data experts.

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 2927
"GlobalBruce" <Gl*********@discussions.microsoft.com> wrote in message
news:D0**********************************@microsof t.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:
"GlobalBruce" <Gl*********@discussions.microsoft.com> wrote in message
news:D0**********************************@microsof t.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
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...
2
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...
0
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...
6
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...
4
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...
4
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...
0
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...
29
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...
1
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...
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: 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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.