![]() |
||||
|
Introduction Visual Studio uses assemblies that, among others, are in one of these subfolders of C:\Program Files\<Microsoft Visual Studio folder>:
But some assemblies are installed only in the Global Assembly Cache (GAC). The GAC is a special folder typically located at C:\Windows\Assembly which stores different versions of shared assemblies used at run-time by .NET applications. The GAC is actually a set of folders, but when you use the Windows Explorer to browse that folder, a shell extension shows a unified view (assembly name, version, culture, public key token and arquitecture) of all installed assemblies. Sometimes your add-in project needs to reference an assembly that is only in the GAC or installing the VSIP / Visual Studio 2005 SDK, for example, the Microsoft.VisualStudio.OLE.Interop.dll assembly. More Information If you don't want to install the Visual Studio SDK stuff on your computer just to reference an assembly that is only in the GAC, since Visual Studio doesn't allow to add references to an assembly in the GAC (because the GAC is a deployment feature, not a development feature) you can follow this procedure to extract the assembly from the GAC:
Most Visual Studio assemblies are not redistributable, which means that your setup should not include them. Rather, Visual Studio (which installs those assemblies in the GAC) should be a prerequisite on the target computer. Go back to the 'Resources for Visual Studio .NET extensibility' section for more articles like this
You can code, design, locate code and document your apps much faster using VB.NET, C#, C++ or Visual J#:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||