473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem while referencing the multiple projects in same solution.

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.

Jan 30 '06 #1
1 1105
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?

Jan 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RickN | last post by:
My C# solution contains multiple projects. It references the business logic solution which also contains multiple projects. I have two strange (and probably related) problems. 1) The first...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
11
by: Daylor | last post by:
hi. im using option strict on. im doing in ,from the simple reason ,to be warn when there are implict conversion like string to int ,int to string. BUT. the price ,(now i see ), is very bad....
1
by: LM | last post by:
Whenever I debug the project, I get compile error every other time. Even just adding comment gives me error. It's very annoying. Does anyone know why? I uninstalled and reinstalled VS.net, but...
1
by: Dave Anson | last post by:
What is the recommended practice for referencing assemblies in a project from other solutions? I am using Visual Studio 2005 Team System. I have several assemblies in another solution which will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.