473,395 Members | 1,652 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,395 software developers and data experts.

help with managing .dll dependancies

Hi,

I have created multiple .dll's mostly representing libraries used by
multiple projects. The dll's are often dependant on each other , for example:-

..dll1 dependant on .dll2 dependant on .dll3

Managing releases of these libraries has become difficult as a change to
..dll1 in the example above means that .dll2 and .dll3 must also be recompiled
and released otherwise I get errors and compatibility problems.

Is there something fundamental that I am missing in how I should be
structuring my projects ? As i get more and more .dll's this will be a major
problem.

I use vsual studio 2003, c# but no source control.

thanks,
Simon.
Oct 11 '05 #1
4 1530
Comments below:
"Simon Matthews" <Si***********@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
Hi,

I have created multiple .dll's mostly representing libraries used by
multiple projects. The dll's are often dependant on each other , for
example:- In the solution properties (right click on the solution, select
Properties -> Common Properties -> Project Dependencies) you can specify
them there.

If you have them in the same solution this will work. Also, when you add the
references, right click on the project, choose Add Reference, then select
Projects. You can add the references there, and then whenever you select
Rebuild , any new changes will be handled automatically. As opposed to
pointing to a specific .dll, this is a lot easier since it's handled for
you. Also, depending on your end goal, you may want to use the GAC and
point there, although if I understand you correctly, that won't directly
solve your problem (I mention it simply b/c it is often a good practice and
may help you out)
.dll1 dependant on .dll2 dependant on .dll3

Managing releases of these libraries has become difficult as a change to
.dll1 in the example above means that .dll2 and .dll3 must also be
recompiled
and released otherwise I get errors and compatibility problems. If you choose Rebuild instead of Build - then it will only build in the new
items if you made changes to any of the projects - and the ones that are
changed will be rebuilt. If I understand you correclty, adding references
via the Projects should fix this for you.
Is there something fundamental that I am missing in how I should be
structuring my projects ?
See above.
As i get more and more .dll's this will be a major problem.

I use vsual studio 2003, c# but no source control. Wow- this is pretty risky. Don't mean to lecture, but this is a disaster
waiting to happen. Source control pays for itself if it saves you just
once. And considering that Vault by SourceGear has a free individual
license, and CVS is also open source - I'd recommend using one of them at a
minimum. And although this is probably a point of dispute for many - Visual
Source Safe is probably the way to go if you can afford it - it integrates
really nicely with VS.NET (although admittedly so does Vault) and the
learning curve on it is probably 15minutes to an hour to learn how to do
most of what you want. You may well already know all of this, if so, then
ignore this. I certainly don't mean to lecture or make any assumptions - I
just worked in a shop that refused to use source control and we paid for it
in blood over and over.

HTH,

Bill
thanks,
Simon.

Oct 12 '05 #2
thanks for the reply Bill,

We do have quite a few different solutions covering many projects and having
them in one solution and using the project method as you describe provide for
a quick way to build everything but then the individual projects canot be
opened and we would have issues with the size of the solutions multiple
people working on it.

SourceControl is high on my list of things to sort out but it doesn't hurt
to be reminded of how risky my current set up is !
Oct 12 '05 #3

"Simon Matthews" <Si***********@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
thanks for the reply Bill,

We do have quite a few different solutions covering many projects and
having
them in one solution and using the project method as you describe provide
for
a quick way to build everything but then the individual projects canot be
opened --Not sure I follow you here. If you have all of the projects in one
solution, you can just flip back and forth between whichever ones you want
to use.

and we would have issues with the size of the solutions multiple
---Ultimately they should be the same with very small discrepancies.
Actually, having multiple solutions would result in a little more space
being needed, but the dll's inside them should be the same size all else
being equal.

I may be misunderstanding you though - and if so , my apologies in advance.
If you could tell me a few more of the specifics, I'll do my best to try and
help out. people working on it.

SourceControl is high on my list of things to sort out but it doesn't hurt
to be reminded of how risky my current set up is !

Oct 12 '05 #4
Thanks for the reply.

There would normally be several people working on the different projects so
opening one solution would cause us a problem with this. We tried opening
just the individual projects though, but with them belonging to the large
solution they will fail on the references to other projects in the large
solution so have to be opened through this.

When I said 'Big' I just meant with so much in the solution it does take a
long time to open etc...

I still think I may be missing something very obvious but i'm just not sure
what

Simon.

"W.G. Ryan - MVP" wrote:

"Simon Matthews" <Si***********@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
thanks for the reply Bill,

We do have quite a few different solutions covering many projects and
having
them in one solution and using the project method as you describe provide
for
a quick way to build everything but then the individual projects canot be
opened

--Not sure I follow you here. If you have all of the projects in one
solution, you can just flip back and forth between whichever ones you want
to use.

and we would have issues with the size of the solutions multiple
---Ultimately they should be the same with very small discrepancies.
Actually, having multiple solutions would result in a little more space
being needed, but the dll's inside them should be the same size all else
being equal.

I may be misunderstanding you though - and if so , my apologies in advance.
If you could tell me a few more of the specifics, I'll do my best to try and
help out.
people working on it.

SourceControl is high on my list of things to sort out but it doesn't hurt
to be reminded of how risky my current set up is !


Oct 12 '05 #5

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

Similar topics

7
by: Alexandr Molochnikov | last post by:
Hello, I've spent a few days trying to get Apache and Tomcat work together via JK module. First I followed the following HOWTO link: http://www.johnturner.com/howto/winxp-howto.html and...
1
by: boxim | last post by:
I'm having a mid-project dilema about using DataSets vs customised classes for managing records I know that DataSets can have constraints applied to maintain referential integregrity with other...
2
by: Joe Rigley | last post by:
Help Please! I've been tasked with converting a portion of the corporate web site that currently utilizes local user accounts and NTFS via Basic Authentication to access certain files on the...
4
by: Simon Matthews | last post by:
Hi, I have created multiple .dll's mostly representing libraries used by multiple projects. The dll's are often dependant on each other , for example:- ..dll1 dependant on .dll2 dependant on...
2
by: -D- | last post by:
I'm taking my first stab at using xml, so please bear with my novice questions and understanding of xml. I'm trying to create an xml file that holds all my website navigation. If I understand...
10
by: Abubakar | last post by:
Hi all, I'm using stl's list to store some file names. Its declared as: list < char * filenames; i enumerate the list by using: list < char * >::const_iterator filename; filename =...
0
by: istruttorenuoto | last post by:
hi to everybody!! i wrote i script from Unix's Bourne shell that connects to an Oracle DataBase and calls a Stored Procedure. Now i'd like to insert some more commands for error managing. here's my...
0
by: Chris Bruner | last post by:
I've got a program that is successfully selling, that I would like to move from MFC to C#. My method of deployment is to copy the program and data files to an SDCard using the main PC program. That...
1
by: Daniel | last post by:
Do any microsoft buildtime dependancies C#/C/c++/VB/etc. need to be updated for the 2007 policy on daylight savings time? I know the OS needs to be updated but I care now about C libraries, .net...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.