473,406 Members | 2,390 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,406 software developers and data experts.

Dependent projects

When I have a project (e.g. App1) and dependent projects, such as generic
components (e.g. Comp1, Comp2), I store them in the following directory
structure:
Apps\App1\App1.sln
Apps\App1\App1.csproj
Apps\App1\Comp1\Comp1.csproj
Apps\App1\Comp2\Comp2.csproj

That's fine - for App1. But what when App2 wants to use one of Comp1 or Comp2?
Do I have
Apps\App2\App2.sln
and then use "..\..\App1\Comp1\Comp1.csproj" which is ugly and causes
SourceSafe to complain that someone else won't be able to check it out to
their folder.

The best solution I can find at the moment is
Apps\App1\App1.sln
Apps\App1\App1.csproj
GenericComponents\Comp1\Comp1.csproj

which is fine for the projects on my system, but still causes Source Safe to
complain that they my projects aren't all in a "nice" directory structure.
Short of having ALL projects, components and everything in the SAME
directory, just bunged in together (which I'm HIGHLY tempted to do as they
all have unique filenames...), what would readers recommend I adopt as my
standard directory structure policy, for projects and generic components?
Nov 16 '05 #1
1 1746
If a component is actually re-usable, then you won't need to share the
SOURCE CODE. You will reference the DLL. If you compile a seperate project
that contains the component, and refer to that project in your solution
(your second structure, below), and if your component project is bound to
VSS seperately from the solution that uses it, you shouldn't get complaints
from VSS.

--- Nick

"Bonj" <Bo**@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
When I have a project (e.g. App1) and dependent projects, such as generic
components (e.g. Comp1, Comp2), I store them in the following directory
structure:
Apps\App1\App1.sln
Apps\App1\App1.csproj
Apps\App1\Comp1\Comp1.csproj
Apps\App1\Comp2\Comp2.csproj

That's fine - for App1. But what when App2 wants to use one of Comp1 or Comp2? Do I have
Apps\App2\App2.sln
and then use "..\..\App1\Comp1\Comp1.csproj" which is ugly and causes
SourceSafe to complain that someone else won't be able to check it out to
their folder.

The best solution I can find at the moment is
Apps\App1\App1.sln
Apps\App1\App1.csproj
GenericComponents\Comp1\Comp1.csproj

which is fine for the projects on my system, but still causes Source Safe to complain that they my projects aren't all in a "nice" directory structure.
Short of having ALL projects, components and everything in the SAME
directory, just bunged in together (which I'm HIGHLY tempted to do as they
all have unique filenames...), what would readers recommend I adopt as my
standard directory structure policy, for projects and generic components?

Nov 16 '05 #2

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

Similar topics

4
by: Andre Brightway | last post by:
I need a script to draw a keyboard to the screen and animate the marking each key when the key is pressed (among other things like being able to draw menus). This script is for testing keyboards...
1
by: Darren | last post by:
I have a solution that has a number of projects. Each project generates a component and each component depends on a number of other components. What is the best way of managing this dependency so...
5
by: Eric | last post by:
After attempting to build a solution, I receive the error message; "One or more dependent assemblies have version conflicts" "Do you want to fix these conflicts by adding binding redirect records...
1
by: lance2001 | last post by:
Hi, After viewing the entire Visual Basic 2005 Express Edition for Beginners video series, I have begun building a database driven application that will make use of listbox1 (multi-select)...
3
by: ezmeralda | last post by:
Hello, I have some code which shall be compiled in .NET v1.1 and v2.0 but which has to be different for the two .NET-Versions. Therefore I need to use a construct like #if NET_20 <2.0...
1
by: Ronald S. Cook | last post by:
If I choose not to include a dependent project in my solution, but rather just reference the .dll in that project's bin\debug folder, are there any negative repercussions? Or, is it more...
4
by: Derek Hart | last post by:
I have a Visual Studio.Net solution that has several projects, one of which is a web service project. I has a reference set to a DLL which is in the same solution, but is a separate project. When...
2
by: puzzlecracker | last post by:
See it a lot but haven't learn the difference between this two in the context of template. Would someone explain it please? Thanks
26
by: jmartmem | last post by:
Greetings, I have an ASP page with two dynamic dependent list boxes written in JavaScript. My dependent lists work great, but my problem is that the values for "Program_Name" and "Project_Name"...
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
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,...
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
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,...
0
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...

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.