Installing and Uninstalling Assemblies

A common way for referring to assemblies available in the GAC is saying they are installed into the GAC. (Installing an assembly to the GAC means making the assembly recognizable by the GAC and by the .NET Framework while the physical file stays in its original location.) Suppose you have an assembly named C:\MyAssemblies\MyLibrary.dll and you want to install this assembly into the GAC. The installation procedure adds to the GAC metadata information for the assembly but does not copy the file to the GAC; instead, MyLibrary.Dll remains in C:\MyAssemblies. Installing and uninstalling assemblies to and from the GAC is a step you have to divide in two parts: development time and real deployment time. At development ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.