473,386 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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
Nov 22 '05 #1
4 4735
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 ...

"Thomas Miller" <th***********@rocketmail.com> wrote in message
news:d7**************************@posting.google.c om...
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

Nov 22 '05 #2
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 ...

"Thomas Miller" <th***********@rocketmail.com> wrote in message
news:d7**************************@posting.google.c om...
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

Nov 22 '05 #3
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 ...

"Thomas Miller" <th***********@rocketmail.com> wrote in message
news:d7**************************@posting.google.c om...
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

Nov 22 '05 #4
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.

==================

th***********@rocketmail.com (Thomas Miller) wrote in message news:<d7**************************@posting.google. com>...
I installed it to the gac. It is showing up in the GAC. It is still
not showing up in the list of available references. Any more ideas?

"anouk" <an***@fkoff.com> wrote in message news:<bH******************@afrodite.telenet-ops.be>...
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 ...

"Thomas Miller" <th***********@rocketmail.com> wrote in message
news:d7**************************@posting.google.c om...
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

Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Thomas Miller | last post by:
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...
7
by: A_StClaire_ | last post by:
hi, I'm working on a project spanning five .cpp files. each file was used to define a class. the first has my Main and an #include for each of the other files. problem is my third file...
2
by: Kurt Schroeder | last post by:
thanks much!!!i'm working through an example that creates a component called component.dll. This compiled ok w/o problem. I copied it to the bin directory of my project (vs.net asp.net vb project)...
14
by: tshad | last post by:
I am trying to set up a reusable library (business component) that I can use in a bunch of my pages. I built the file and it almost compiles, but I am not sure what I am missing. The vbc...
2
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just...
4
by: Tony Johansson | last post by:
Hello! I have one solution file that consist of three project. One project that build the exe file called A One project that build a user control dll. Here we have a class called B One project...
28
by: Steven Bethard | last post by:
Ok, I finally have a PEP number. Here's the most updated version of the "make" statement PEP. I'll be posting it shortly to python-dev. Thanks again for the previous discussion and suggestions!...
7
by: Steven Bethard | last post by:
I've updated PEP 359 with a bunch of the recent suggestions. The patch is available at: http://bugs.python.org/1472459 and I've pasted the full text below. I've tried to be more explicit about...
6
by: Pucca | last post by:
I have a program that originally compiles into a exe file. I changed the compile option to generate dll file. This program calls a com component. Can I use pinvoke in C# to call it? The...
1
by: Dale | last post by:
I have a user control on a Windows Form that, in its Load event handler, calls a method from a class library to initialize an array of objects that are then used to populate a ComboBox. When I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.