473,811 Members | 3,924 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1565
Comments below:
"Simon Matthews" <Si***********@ discussions.mic rosoft.com> wrote in message
news:AB******** *************** ***********@mic rosoft.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.mic rosoft.com> wrote in message
news:1C******** *************** ***********@mic rosoft.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 misunderstandin g 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.mic rosoft.com> wrote in message
news:1C******** *************** ***********@mic rosoft.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 misunderstandin g 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
6246
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 managed to get Tomcat static html page load from Apache server without specifying 8080 port, like this:
1
1133
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 tables held in the dataset (memory) However, we wanted a set of data manegement classes that provided actual properties to the members of the object's data, e.g. Company.Name to be the company name, not ds.Tables.Rows. Ok, so I could make a typed...
2
2417
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 web site to an ASP .NET Forms Authentication approach with SQL Server. I'm just getting comfortable with ASP .Net, but strong in Classic ASP.
4
284
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 .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.
2
2039
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 correctly, I can use xslt to create different menus from the xml file. What I'm trying to accomplish is to create a top menu bar, left navigation menu bar and sub header navigation bar. Then place the transformed xslt menus into user controls...
10
1263
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 = filenames.begin();
0
1040
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 scritp: stty istrip stty erase ^H export ORACLE_BASE=/product/oracle export ORACLE_HOME=$ORACLE_BASE/product/9.2.6 export PATH=$ORACLE_HOME/bin:/usr/ccs/bin:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/tibcosv/dtsgvemi/S2T/scripts sqlplus...
0
1154
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 is, the user puts an sd card in, and updates the drive that the card is. Then when the user puts the card in their pocketPC they run the program from the SDCard. This same method is used for palms as well, and in actual fact both the palm and...
1
339
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 binaries, etc. that microsoft maintains which have coded in them logic around datetime. e.g. the C# and c++ datetime objects that microsoft maintains, do these have any logic that needs to be updated reguardless of the OS being updated? Or is all...
0
9724
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10394
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10127
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9201
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7665
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4336
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.