473,394 Members | 1,802 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.

References across multiple projects

Hi all,
I have developed an application in which there are uptill now 12
projects and few of them are
dependent on each other.

The problem is I am not able to manage the references across different
projects.

Previously I used to get one error it says something like the object of
type cannot be
conveted to the other object but in actual case those objects were of
same type.
Somehow I could able to resolve that problem.

Now the scenario is different now I am getting few warnings like the
'specified dependency
could not be copied because it will overwrite the reference with some
version no. associated
with it'.

And there is one constant problem of the reference path of the DLL's
getting changed constantly even though I specify a proper path for the
referenced dll on recompliation of
the parent project the path of the referenced dll is getting changed
automatically.

I don't know why such a problem is happening is there any help which I
can use to manage
my references throughout the life of my project.

Thanks in advance

Mar 4 '06 #1
1 1978
Hi Ms. Sonali,

The solution is quite simple & straight-forward. What you can do is - create
a strong-named assembly, register it with the GAC & then use it across your
projects.

To create a key pair use: sn.exe
To link required assembly using the key pair use: al.exe
To register this assembly use: gacutil.exe

If you are not aware of what I am talking about, see .Net framework
documentation or drop me a mail at banavalikar(at)gmail(dot)com or call me on
my cell 9821383583.
--
Radhakrishna Banavalikar
Vasant-Vihar, Thane, INDIA.
"so*************@yahoo.com" wrote:
Hi all,
I have developed an application in which there are uptill now 12
projects and few of them are
dependent on each other.

The problem is I am not able to manage the references across different
projects.

Previously I used to get one error it says something like the object of
type cannot be
conveted to the other object but in actual case those objects were of
same type.
Somehow I could able to resolve that problem.

Now the scenario is different now I am getting few warnings like the
'specified dependency
could not be copied because it will overwrite the reference with some
version no. associated
with it'.

And there is one constant problem of the reference path of the DLL's
getting changed constantly even though I specify a proper path for the
referenced dll on recompliation of
the parent project the path of the referenced dll is getting changed
automatically.

I don't know why such a problem is happening is there any help which I
can use to manage
my references throughout the life of my project.

Thanks in advance

Mar 4 '06 #2

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

Similar topics

7
by: Brian Sabolik | last post by:
I'm not sure if I've broken any Object Oriented rules or not, but ... I have projects in 2 different solutions that need to use each other's methods. Therefore I may have an "update" method in...
2
by: TaeHo Yoo | last post by:
Hi all, I have a solution which contains multiple projects. Those multiple projects should share the same session. For example, users login, create the session for users then these session...
2
by: Brian Henry | last post by:
Is it possible to create web users controls which can actively be used on multiple projects? similarly to how a winforms user control can be used in multiple project when referenced. What I want...
0
by: sonali_reddy123 | last post by:
Hi all, I have developed an application in which there are uptill now 12 projects and few of them are dependent on each other. The problem is I am not able to manage the references across...
2
by: sonu | last post by:
Hi all, I have developed an application in which there are uptill now 12 projects and few of them are dependent on each other. The problem is I am not able to manage the references across...
3
by: Jerad Rose | last post by:
This is regarding Visual Studio 2003 (framework 1.1). We have several projects/libraries. Of course, many of these reference each other. If we only had one solution, we would simply add all of...
1
by: Richard Lewis Haggard | last post by:
I'm having a problem with what appears to be some sort of confusion with references. I have a single solution with a dozen projects which has been working quite nicely for a while. The references...
3
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our...
2
by: Jeff Dege | last post by:
I'm working with a group that's been doing C++ coding for quite a long time, now, and in that environment we've pretty much worked out development practices that serve us well. We've been doing...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.