Problem while referencing the multiple projects in same solution.

  • Thread starter Thread starter sonu
  • Start date Start date
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.
 
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?
 
Back
Top