dll problem

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
H

Hrvoje Voda

I make 2 projects in one solution.
I can't add a reference of one project ot another.
I get an error : "A reference to Base colud not be added. An assemby must
have a 'dll' extension in order to be referenced."

Where is the problem ?

Hrcko
 
Go to your project properties dialog and set the Output Type to 'Class
Library' and rebuild.

Glenn
 
The problem is both projects are "applications". VS.NET doesn't support adding references to .exes only to .dlls (although the command line compiler doesn't have this restriction).

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

I make 2 projects in one solution.
I can't add a reference of one project ot another.
I get an error : "A reference to Base colud not be added. An assemby must
have a 'dll' extension in order to be referenced."

Where is the problem ?

Hrcko
 
What are the two project types? (windows applications, control libraries
etc)
You can only reference an library (which ends with .DLL)
 

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

Back
Top