VS/C# multiple projects organising source files

S

SanjayJain

using vs2003/c#
we have several medium to large projects

How should we organise our source files
i.e. directories / namespaces / assemblies etc

1. some classes/groups of classes
are used in all our projects (usually abstract classes)
2. some classes/forms comprise of a
functional module and go as one unit
(e.g. accounting, inventory,...)
2. some functional modules are in use only
in some of the projects and some are common to all

Are there any guidelines / recommendations
how we should maintain our directories / files
libraries etc

Regards
Sanjay jain
www.planage.com
 
J

Jianwei Sun

SanjayJain said:
using vs2003/c#
we have several medium to large projects

How should we organise our source files
i.e. directories / namespaces / assemblies etc

1. some classes/groups of classes
are used in all our projects (usually abstract classes)
[Make a utility dll[Companty.Utility.Dll] to contain those class and
reference those dll in other projects.
2. some classes/forms comprise of a
functional module and go as one unit
(e.g. accounting, inventory,...)
[Make a separate dll to contain differnt logic, Companty.accounting.dll,
Companty.inventory.dll..]
2. some functional modules are in use only
in some of the projects and some are common to all
[You can choose different assembly to reference, right?]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top