Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Visual Studio » How to   (RSS)

How to Install Assemblies to the GAC Programmatically?

You can add or remove assemblies from the GAC using code. You can use Publish.GacInstall method to install an assembly to the GAC, or Publish.GacRemove method to remove that assembly from the GAC. If you are using Vista, and enable UAC, you have to run
 
Page view tracker