473,386 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,386 software developers and data experts.

References and multi developer projects

Visual studio .net 2003.

We have created 2 solutions that are related to and dependent on each
other's class libraries. One of them is executed as required, the other one
sits in the task bar. I'm working on the task bar application and my
colleagues are developing the other.
All of us need to do work on a single class library/project that is included
in both solutions.
When the solutions are finished they're both located in the same directory.

This class library, to this moment, has been written by me. It references
some other class libraries (database interface stuff from my collleagues'
solution) which I've grouped in a sub directory for convenience. I create
references to those dlls by selecting "Add reference" then browsing to the
sub folder and selecting the dlls.

The problem is that now my colleague needs to edit my class library. He's
added my project to his solution and the compilation failed because his
project directory structure is different to mine and those DLLs are not in
the same place as on my machine.

We can't use the global library cache, the dlls and applications have to be
located in the same directory as each other for certain reasons.

The only answer we could think of was for me to add the other solutions
class libraries to mine as projects and compile my own version of their dlls
so that the references were project based rather than directory based.
This seems a very poor solution to our problem.

Can anyone come up with a cleaner answer please?

Claire
Nov 16 '05 #1
4 1317
I've fixed it. I added the new directory to the references path in project
properties.

thanks anyway
Nov 16 '05 #2
And use Visual SourceSafe. It's integrated into VS and doesn't require you to
do anything once you've got it set up.
"Claire" wrote:
I've fixed it. I added the new directory to the references path in project
properties.

thanks anyway

Nov 16 '05 #3
For each class library, have a test bench, a project whose *only* purpose is
to test that class library, and to make sure it operates as required. That
can include any complexities that an actual application may face, but it's
just a test bench - and it has a project reference to the library it is to
test. Then, when you want to actually *use* the class library in a project,
you only ever need set a reference to the compiled binary. If it generates an
error, you reproduce the behaviour that caused the error in the test bench,
and debug it until the class library can handle it. Then you do a release
build, which will be picked up the next time you build your client project.
That's what I do anyway.

"Claire" wrote:
I've fixed it. I added the new directory to the references path in project
properties.

thanks anyway

Nov 16 '05 #4
Bonj <Bo**@discussions.microsoft.com> wrote:
And use Visual SourceSafe. It's integrated into VS and doesn't require you to
do anything once you've got it set up.


And it'll lose your code for you if you're unlucky. Not to mention that
it assumes you're on a LAN, using file sharing for everything, which
leads to terrible performance over a VPN.

Seriously, I'd strongly advise against VSS. It's a horrible, horrible
source control system. I'm really hoping that the team system in the
enterprise edition of VS.NET 2005 does things properly...

See http://www.michaelbolton.net/testing/VSSDefects.html for more
reasons against using VSS.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #5

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

Similar topics

6
by: Peter Rilling | last post by:
My development team is using VS.NET with VSS integration. They are able to check in and out from within VS.NET. We also use NUnit for testing our libraries. Currently our entire solution is...
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...
6
by: Peter Rilling | last post by:
My development team is using VS.NET with VSS integration. They are able to check in and out from within VS.NET. We also use NUnit for testing our libraries. Currently our entire solution is...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.