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\Com p1\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
GenericComponen ts\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? 1 1763
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**@discussio ns.microsoft.co m> wrote in message
news:2A******** *************** ***********@mic rosoft.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\Com p1\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 GenericComponen ts\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? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 and
needs to be run by people who may never have touched a computer before
so it needs to have an easy to follow GUI interface. But the Linux
boxes these will be runned on are very low-end, 'diskless' terminals
where running a full X-Windows...
|
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 when I
build my solution it will build the components in the correct order?
I see a number of options:
1. To use the Project Dependency screen to set the dependencies and
therefore the build order. I assume the programmer has to set this up
and...
|
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 in the app.config file?"
I received this after changing the assembly version in two of the solution's
projects to
What does this error mean?
|
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) determining
what shows up in listbox2 (multi_select), which determines listbox3,
etc.... Each each listbox is populated from a different table in the
same database.
The databinding examples given in the video seem to leave no way for a
|
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 specific code>
| |
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 normal/better to just go ahead and include that project in
the solution?
I'm thinking I would prefer the prior because we have alot of projects and
most main projects reference several other projects and that would be alot
of projects within a...
|
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 I go to publish the web
service, there does not seem to be an option that would automatically
determine what references there are in the DLL, so dependencies for that DLL
do not publish for the web service project. Do I have to do an InstallShield...
|
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
|
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" are passed onto this page from a previous page and I haven't been able to figure out how to show the passed values in the list boxes when the page loads.
All variables passed perfectly before I added the dependent list code below. Currently, when...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |