By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

How to add a class library to an existing Windows application?

P: n/a
Hello

Using VS 2005 VB.net when a class library gets created you can right click
the project and add a Windows Application and then set it as the "startup
project" then in the Windows application you can add a reference to that
class library in the project by right clicking the Windows Application and
selecting "Add Reference" and you will see the project under the "Projects"
tab and add the project containing its class library to the Windows
application and the application will work.

However if you have an existing Windows Application and you right click it
and select "Add Reference" there won't be a Project with its class library in
the "Projects" tab, even if you browse for one all you will see are the
folders that contain projects. So the question is if you have an existing
Windows application:

How do you add an existing Project with its class library to an existing
Windows Application instead of adding a Windows Application to a existing
class library?
Sep 20 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"winlin" <wi****@verizon.comschrieb
Hello

Using VS 2005 VB.net when a class library gets created you can right
click the project and add a Windows Application and then set it as
the "startup project" then in the Windows application you can add a
reference to that class library in the project by right clicking the
Windows Application and selecting "Add Reference" and you will see
the project under the "Projects" tab and add the project containing
its class library to the Windows application and the application
will work.

However if you have an existing Windows Application and you right
click it and select "Add Reference" there won't be a Project with
its class library in the "Projects" tab, even if you browse for one
all you will see are the folders that contain projects. So the
question is if you have an existing Windows application:

How do you add an existing Project with its class library to an
existing Windows Application instead of adding a Windows Application
to a existing class library?
Menu File -Add -Existing project

?
Armin
Sep 20 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.