how to make a .net component class library show up in the list of available references

  • Thread starter Thread starter Thomas Miller
  • Start date Start date
T

Thomas Miller

Hello,
I have built a c# class library (I will call it "Assembly1"), and
built an installer that installs it. It is working well. I created a
new asp.net application, right-clicked on references and selected "add
reference". My "Assembly1" is not showing up under the list of
components under the .NET tab. I have to click "browse" and manually
locate the dll. How do I make it show up in the list of available .NET
objects?

Tom
 
Have you tried installing it in the GAC ? Components in the GAC (thus
'shared' components) should be visible in the Add Reference list in visual
studio...

Hope it helps ...
 
follow-up... the way to have a component show up in the visual studio
list of available references is to drop it in C:\Program
Files\Microsoft Visual Studio .NET\Common7\IDE\Public Assemblies

===========


The PublicAssemblies folder is designed to contain managed assemblies
that run within the development environment and are typically called
from macros, add-ins, and other user code. The assemblies in this
directory are displayed in the Project Add References dialog box and
the Object Browser's Component Selector dialog box. For example, COM
interoperability wrappers for automation object models (e.g.
vslangproj.dll) should be installed in the PublicAssemblies folder.



Assemblies that are not intended to be called from user code should be
installed into the PrivateAssemblies folder.

==================
 
Back
Top