Install assembly in GAC ?? Not visible inside the IDE

S

Sagaert Johan

Hi

I used an installer to install my assembly dll into the GAC , with the
graphical Gac Tool i see it is installed in the global assembly cache.

When in the IDE i add a reference, then the assembly is not visible in
listview.
How to make my assembly visible in this list ?

johan
 
N

Nicholas Paldino [.NET/C# MVP]

johan,

That list that you see is not a function of the assemblies in the GAC.
Rather, it is a list that is stored in the registry. For more information
on how to add to that list, check this out:

http://msdn2.microsoft.com/en-us/library/ftcwa60a.aspx

Specifically, the section titled "Displaying an Assembly in the Add
Reference Dialog Box"

Hope this helps.
 
D

David Browne

Sagaert Johan said:
Hi

I used an installer to install my assembly dll into the GAC , with the
graphical Gac Tool i see it is installed in the global assembly cache.

When in the IDE i add a reference, then the assembly is not visible in
listview.
How to make my assembly visible in this list ?


That box (confusingly) is not a view of the GAC.

Add Reference Dialog Box
http://msdn2.microsoft.com/en-us/library/ftcwa60a.aspx


You can follow the procedure documented above to add you assembly to the Add
Referenced dialog, or you can just navigate to the .DLL to add the assembly.
It will still be loaded from the GAC.

David
 
S

Sagaert Johan

thanks

I previous copied the assembly into the
windows\Microsoft.NET\Framework\v2.0.50727 folder to make it vissible in the
IDE, a bad idea i guess


Nicholas Paldino said:
johan,

That list that you see is not a function of the assemblies in the GAC.
Rather, it is a list that is stored in the registry. For more information
on how to add to that list, check this out:

http://msdn2.microsoft.com/en-us/library/ftcwa60a.aspx

Specifically, the section titled "Displaying an Assembly in the Add
Reference Dialog Box"

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Sagaert Johan said:
Hi

I used an installer to install my assembly dll into the GAC , with the
graphical Gac Tool i see it is installed in the global assembly cache.

When in the IDE i add a reference, then the assembly is not visible in
listview.
How to make my assembly visible in this list ?

johan
 
N

Nicholas Paldino [.NET/C# MVP]

Sagaert,

You should never touch that directory. That's the directory for the
framework, not for you.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Sagaert Johan said:
thanks

I previous copied the assembly into the
windows\Microsoft.NET\Framework\v2.0.50727 folder to make it vissible in
the
IDE, a bad idea i guess


in
message news:[email protected]...
johan,

That list that you see is not a function of the assemblies in the
GAC.
Rather, it is a list that is stored in the registry. For more
information
on how to add to that list, check this out:

http://msdn2.microsoft.com/en-us/library/ftcwa60a.aspx

Specifically, the section titled "Displaying an Assembly in the Add
Reference Dialog Box"

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Sagaert Johan said:
Hi

I used an installer to install my assembly dll into the GAC , with the
graphical Gac Tool i see it is installed in the global assembly cache.

When in the IDE i add a reference, then the assembly is not visible in
listview.
How to make my assembly visible in this list ?

johan
 

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