Cannot add reference to C# project from VB project

  • Thread starter Thread starter Sidney
  • Start date Start date
S

Sidney

An Assembly must have a "dll" extension in order to be referenced
how to solve it?

Thank you

Sidney
 
Assuming the projects are in the same solution you can use the third tab
(labeled "Projects") in the Add Reference dialog
You should see your C# project listed in the list on that page. Simply
select it in the list and press the Select button.

/claes
 
and it show this sentence wor....
An Assembly must have a "dll" extension in order to be referenced
how to turn the project into dll?

Thank you!!
Sidney
 
Hi,

You can change a windows forms app into a dll by changing the
application type to class library in the project properties. Build the
solution to create the dll.

Ken
 
Sidney said:
and it show this sentence wor....
An Assembly must have a "dll" extension in order to be referenced
how to turn the project into dll?

In addition to the other posts (which hopefully answer your question), in
Visual Studio 2005 you can reference .exe files/projects as well as .dlls.
 
Oenone said:
In addition to the other posts (which hopefully answer your question), in
Visual Studio 2005 you can reference .exe files/projects as well as .dlls.

That's true. However, this is not supported by VS.NET 2002/2003.
 

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