• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 613
  • Last Modified:

Can't see DLL in GAC

I added a DLL to the GAC but when I click to add a reference from my VS.NET 2008 project, I don't see the DLL under the .NET or COM tabs.  I added it like this:

  gacutil -i Microsoft.Interop.Security.AzRoles.dll

I can see the DLL in C:\WINDOWS\assembly.  Any ideas why it isn't showing?
0
brettr
Asked:
brettr
1 Solution
 
oobaylyCommented:
The Add Reference dialog doesn't list Assemblies in the GAC, and according to this MSDN article you can't. "Note that you cannot add references from the Global Assembly Cache (GAC), as it is strictly part of the run-time environment."
http://msdn.microsoft.com/en-us/library/wkze6zky(VS.80).aspx

I've create a folder called "3rd party assemblies", and have referenced that to be enumerated by the Add Reference dialog. This is where I store all other assemblies:

Just create a new registry key in "\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders" under either Local Machine or Current User.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now