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

References in projects for multiple users...

Hello there,

We have a solution which has 18 c# projects in it. These projects all have
references to DLLs stored in a common folder in our source control.

I notice that VS appears to store a "default" folder in the project
properties for a reference path - probably the one that was first used when
the reference was added to the project? This might be C:\_SOURCE for me,
since that's the folder I use on my PC.

I also notice that you can override this for every project, and it's stored
locally for the particular user, which I suppose is good, but it's a bit
painful when someone just wants to do File->Open from Source Control and
build this thing into their C:\MYSOURCE folder (which differs from the
default).

Is there some way to do something smart to get around this, other than
having all the developers use C:\_SOURCE as their dev folder? Or having them
go into every project and update their reference path settings? I tried
using an environment variable in there, but it ignored me...and the docs say
you can't use relative paths, either.

Thanks for any tips.

Chris

Jan 29 '07 #1
1 1134
On Jan 29, 10:08 am, cada0310 <cada0...@discussions.microsoft.com>
wrote:
Hello there,

We have a solution which has 18 c# projects in it. These projects all have
references to DLLs stored in a common folder in our source control.

I notice that VS appears to store a "default" folder in the project
properties for a reference path - probably the one that was first used when
the reference was added to the project? This might be C:\_SOURCE for me,
since that's the folder I use on my PC.

I also notice that you can override this for every project, and it's stored
locally for the particular user, which I suppose is good, but it's a bit
painful when someone just wants to do File->Open from Source Control and
build this thing into their C:\MYSOURCE folder (which differs from the
default).

Is there some way to do something smart to get around this, other than
having all the developers use C:\_SOURCE as their dev folder? Or having them
go into every project and update their reference path settings? I tried
using an environment variable in there, but it ignored me...and the docs say
you can't use relative paths, either.

Thanks for any tips.

Chris
If you have control of the projects that create each .dll, then you
should be using a project reference and not a direct assembly
reference. The only time you should reference a .dll directly is if
it is a 3rd party .dll or a .dll for which you do not control the
source.

See this reference for additional information, particularly chapter 4.

http://msdn.microsoft.com/library/de...ml/tdlg_rm.asp

Feb 2 '07 #2

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

Similar topics

12
by: A-PK | last post by:
Anyone know how to breakdown every modules into different assemblies and refernces. Hence, to repair problematic module, only that particular module needed to be recompiled. or any place...
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...
3
by: SAM | last post by:
Hi everyone, I consider myself a very competent programmer when it comes to actual programming and analyzing the business that I'm modelling. I am now crossing into what I would consider Access...
8
by: Jeff Connelly | last post by:
We're getting this error and don't know where to find the problem. I assume this is usually issued in the typical case where project A has a reference to project B, and project B has a reference...
2
by: sonu | last post by:
Hi all, I have developed an application in which there are uptill now 12 projects and few of them are dependent on each other. The problem is I am not able to manage the references across...
3
by: Jerad Rose | last post by:
This is regarding Visual Studio 2003 (framework 1.1). We have several projects/libraries. Of course, many of these reference each other. If we only had one solution, we would simply add all of...
1
by: Richard Lewis Haggard | last post by:
I'm having a problem with what appears to be some sort of confusion with references. I have a single solution with a dozen projects which has been working quite nicely for a while. The references...
3
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
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: 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...
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...
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
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...
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...
0
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,...

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.