Problem while referencing the multiple projects in same solution.

S

sonu

Hi all,

I have developed a VB.NET application. In my solution I have 8
projects.
And I need reference of one project in another.

That is why I have added the reference of that project in the project I
want.
The things were working fine initially but now I am facing the problem
while
passing parameters while calling a function in another project.

The error is for not able to convert to object of same type.

Ex.

if I have a object of Class A
Then it says like cannot value of type A cannot be converted to value
of type A.

What could be the reason. I haven't changed the default properties
associated with the project. The references are added from where the
exe for that perticular project to which I am
refering to. So I don't know what is giving me this error.

Plz. If anybody has any Idea abt. this then do help me.

Thanks in advance.
 
C

Chris Dunaway

Do you have the same class duplicated in more than one project? Or two
classes with the same name? You may have to qualify them with their
namespace name. Are you using project references instead of
referencing the .dlls?
 

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

Top