Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Adding reference to a module that is stored in the GAC

Posted on 2013-02-01
1
Medium Priority
?
250 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

604 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