?
Solved

Adding reference to a module that is stored in the GAC

Posted on 2013-02-01
1
Medium Priority
?
249 Views
Last Modified: 2013-02-07
How do you add an assembly that is already stored in the GAC to your application while developing in Visual Studio? I know normally you just right click on the project and add reference but the GAC is a special place and seems to block you from using any module.
0
Comment
Question by:metro156
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 2000 total points
ID: 38846565
Hi,

click on "Start" and enter "run" (or use the hotkey Windows+R).
Now enter the path to the GAC e.g.
"C:\Windows\assembly\gac_msil"
Then browse to the subfolder of your requested DLL and when you found it, copy the complete path from the top of the window.
Now in Visual Studio click on "Add reference", "Browse" and paste the path.

(alternative: Using a cmd, navigating to the dll and use e.g. xcopy to copy the dll to another folder)

Happy programming ;-)

HTH
Rainer
0

Featured Post

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question