473,748 Members | 6,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1329
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**@discussio ns.microsoft.co m> 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.co m>
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
1968
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 checked into VSS along with all the associated projects. Many developers need to work on the same solution. The problem that I am having is getting a consistent unit test system setup so that it can easily be shared. Basically, in order to run...
7
2783
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 project 1-solution A accessing a "save" method in project 2-solution B as well as "getinfo" method in project 2 accessing a "read" method in project A. Is this permitted? I am getting the "dependency file in project cannot be copied... conflict...
6
361
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 checked into VSS along with all the associated projects. Many developers need to work on the same solution. The problem that I am having is getting a consistent unit test system setup so that it can easily be shared. Basically, in order to run...
7
307
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 project 1-solution A accessing a "save" method in project 2-solution B as well as "getinfo" method in project 2 accessing a "read" method in project A. Is this permitted? I am getting the "dependency file in project cannot be copied... conflict...
0
8989
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...
0
8828
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9537
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9367
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9319
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,...
1
6795
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
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.