473,287 Members | 1,643 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,287 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 1523
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.