regasm and GAC accumulation.

  • Thread starter Chad Z. Hower aka Kudzu
  • 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
 
M

Mattias Sjögren

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
 
C

Chad Z. Hower aka Kudzu

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

RegASM 7
dotnet.general 8
GetTickCount 3
What does this do? Object[0] 12
Indy for Visual Studio Developers 3
StringCollection questions and sorting too 9
VB and implicit conversions 36
Datagrid - Current row 6

Top