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

Folder structure for large C# solutions?

Does anyone have preferences for how to set up directory structures in
larger multi-project C# 'solutions'? (Hate that ad-speak cliche). I
realize that this is arbitrary, but it seems that another level of
directory depth would help in organizing things. For example,
assemblies in one top-level folder, executables in another, etc.
Has anyone come up with anything that generally works well?

Nov 17 '05 #1
2 8370
I would think that really depends on the type of application you have and
what your structure requirements are.

Personally, regardless of structure I only keep one project open at a time.
It's easier to keep track of where I am, VS.NET performs better,etc. I will
open multiple VS.NET instances if I need to.

"-DG-" <-D**@nospam.com> wrote in message
news:p5********************************@4ax.com...
Does anyone have preferences for how to set up directory structures in
larger multi-project C# 'solutions'? (Hate that ad-speak cliche). I
realize that this is arbitrary, but it seems that another level of
directory depth would help in organizing things. For example,
assemblies in one top-level folder, executables in another, etc.
Has anyone come up with anything that generally works well?

Nov 17 '05 #2
Hi DG,

We work on medium to large applications here and we follow microsoft
guidelines for namespaces and we keep the directory structure exactly the
same from the solution level down. Unlike Java they don't have to correspond
exactly so here is what we do...

Projects/ProjectName/ ---> all projects start under a projects folder and
include just the official name of the application

Projects/ProjectName/NameSpace.Solution ---> just the C# or VB.NET
solution file
ProjectsProjects/ProjectName/NameSpace.Solution\Namespace ---> the project
file and associated files

Projects/ProjectName/AnyOtherProjectRelatedFolderHere ---> any folder that
needs to be created to support this application

Example...

C:\Projects\PointOfSale ---> Point of Sale Project

C:\Projects\Kentucky.PointOfSale.Solution -- C# solution
C:\Projects\Kentucky.PointOfSale.Solution\Kentucky .PointOfSale.UI --> User
interface related files
C:\Projects\Kentucky.PointOfSale.Solution\Kentucky .PointOfSale.BusinessLayer
--> Business objects
C:\Projects\Kentucky.PointOfSale.Solution\Kentucky .PointOfSale.DateLayer
--> Data access layer

C:\Projects\PointOfSale\Documentation --> All Point of Sale related
documentation including project charter, use cases, etc.

Hope this helps.

Mark
"-DG-" wrote:
Does anyone have preferences for how to set up directory structures in
larger multi-project C# 'solutions'? (Hate that ad-speak cliche). I
realize that this is arbitrary, but it seems that another level of
directory depth would help in organizing things. For example,
assemblies in one top-level folder, executables in another, etc.
Has anyone come up with anything that generally works well?

Nov 17 '05 #3

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

Similar topics

2
by: ragha | last post by:
Dear friends I am emulating thr tree structure mentioned in the article http://www.15seconds.com/issue/010921.htm I have succesfully created the folder structure for level 2 I need this...
0
by: David Waddell | last post by:
Hi, I'm trying to setup a project folder structure in vs.net 2003 as follows : <project root> src doc test bin The only glitch I'm hitting is that the "New Class" wizard will append ".src"...
0
by: riversmithco | last post by:
Hi all, I am pulling my hair out on this one. I am following the Microsoft guidelines on how to structure folders and check in ASP.Net apps to VSS. Here's the problem: 1. I create a blank...
9
by: Paul | last post by:
I'm trying to make get my app to delete all the files in a specified folder and all the files within the folders of the specified folder. e.g. Folder 1 contains three files (File1, File2, File3)...
0
by: andoband | last post by:
Using VS 2005, I have created a solution and it's projects using the following physical folder structure: d:\projects\Enterprise.root\Enterprise\Enterprise.sln...
1
by: rkoduru | last post by:
Hi All, I am looking for a script which will parse the folder structure (recursive) of a drive using my windows credentials (2003 domain) and give me the list of any folders/files that i dont have...
0
by: HarXon | last post by:
Hi, I am relatively new to C# and am attempting to implement the following: I currently have a text file containing the full path of all folders on a disk, from this i would like to create a...
5
by: IUnknown | last post by:
Ok, we are all aware of the situation where modifying the folder structure (adding files, folders, deleting files, etc) will result in ASP.NET triggering a recompilation/restart of the application....
0
by: Chuck Anderson | last post by:
I'm trying to come with a good organization plan for the Apache, Php, MySQL development software on my home PC and am wondering what sort of folder structure others may have come up with that seems...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.