Unable to import the class files from the class library

I am relatively new to VB.NET.I am working on a windows application.For this, I have created a class library under the existing solution explorer where I have all the class files.When I try to import the class library, it says that it soes not exist.I am not sure why this is occuring.Can you please help me with this situation?

Thanks,
g46905Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Arthur_WoodCommented:
have you BUILT the DLL for the class library that you are trying to import?  Have you added it as a Reference?

AW
0
g46905Author Commented:
1. I rightclicked on the solutions explorer
2. select new project and select class library.

How fo I build the DLL for the class  library and reference to it? Could you please help me?

Thanks
0
toddhdCommented:
You are doing well so far then. You have two options. First, make sure you build the class library project so that you have a dll. Then:

1) In the project that imports the class library, right click on references, add reference, then select the right most tab - I think it says projects - and select the class library project.

2) Add a new reference as in #1, but instead of using the third tab, stay on the first. Click the Browse button, and browse to the class library folder location. In the /BIN directory under the project is your dll. Just select it so you have a reference to it.

Now you should be good to go.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.