Use of the GAC during development

  • Thread starter Thread starter Jeff Tolman
  • Start date Start date
J

Jeff Tolman

Hopefully someone knows something about this:

I'm developing in a multi-project solution. One project is creating a DLL
assembly that gets installed into the GAC that shares some user controls
with the other (ASP.NET) applications. Is there anyway to run a command
after the successful compilation of an assembly? I'm assuming at this point
that after each time my assembly gets recompiled it needs to be reinstalled
into the GAC.

Thanks!

Jeff Tolman
(e-mail address removed)
 
with the other (ASP.NET) applications. Is there anyway to run a command
after the successful compilation of an assembly? I'm assuming at this point

Of course, although I don't do it myself and haven't tested it...

In the properties of the project, on the "build events" tab, enter a
Post-build event command line.
 
Hello Jeff,

Use gacutil.exe in the PostBuild property of your project

JT> Hopefully someone knows something about this:
JT>
JT> I'm developing in a multi-project solution. One project is creating
JT> a DLL assembly that gets installed into the GAC that shares some
JT> user controls with the other (ASP.NET) applications. Is there
JT> anyway to run a command after the successful compilation of an
JT> assembly? I'm assuming at this point that after each time my
JT> assembly gets recompiled it needs to be reinstalled into the GAC.
JT>
JT> Thanks!
JT>
JT> Jeff Tolman
JT> (e-mail address removed)
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top