regasm and GAC accumulation.

  • Thread starter Thread starter Chad Z. Hower aka Kudzu
  • Start date Start date
C

Chad Z. Hower aka Kudzu

1) RegASM puts it in the GAC. But what exactly does that give me?

2) I have a build process which rebuilds a strongly named asm several times a
day. I regasm it each time. Each time it takes longer and longer....

I am not unregistering it - do I have like 150 copies of this in my GAC now?
How can I manually just kill them out?


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
And same question as before, but with GacUtil.
OK


1) RegASM puts it in the GAC. But what exactly does that give me?

It makes the assembly globally available to all applications. There
are few reasons to put your own assemblies in the GAC, most of the
time the application directory is a better choice.

2) I have a build process which rebuilds a strongly named asm several times a
day. I regasm it each time. Each time it takes longer and longer....

I haven't seen that happen.

I am not unregistering it

Why not?

- do I have like 150 copies of this in my GAC now?

Don't know, but running Gacutil.exe /l will tell you.

How can I manually just kill them out?

Gacutil.exe /u



Mattias
 
Mattias Sjögren said:

Didnt know I had to until recently. :)
Don't know, but running Gacutil.exe /l will tell you.
Thanks.


Gacutil.exe /u

That fixed it. I had 35 of them. :)

GACUTIL has a billion options - somone needs to write a decent GUI front end
for that puppy.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
Back
Top