set reference to component in GAC ???

C

cmrchs

Hi,

in VisualStudio.NET : how can I set a reference to a component in the GAC ?
' cause the 'Add Reference' - dialog box doesn't show the components listed in the GAC

thanks
Chris

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
M

Mattias Sjögren

in VisualStudio.NET : how can I set a reference to a component in the GAC ?
' cause the 'Add Reference' - dialog box doesn't show the components listed in the GAC

You can't, reference a copy of the assembly in another directory.



Mattias
 
S

Steve Walker

ChrisC@?.?.invalid said:
Hi,

in VisualStudio.NET : how can I set a reference to a component in the GAC ?
' cause the 'Add Reference' - dialog box doesn't show the components
listed in the GAC

No, it doesn't, which always struck me as remarkably dumb.

There is a way of making components appear in that list, which I've
forgotten, the simplest way is to browse to the component from the add
reference dialog. To get the location of the component, look in the GAC
(browse to C:\windows\assembly), right-click on it and examine
properties. You're looking for the codebase property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top