Navigation:  Getting started > File Organization >

Source Code Organization

Previous pageReturn to chapter overviewNext page

The top of the source tree is structured in the way that Subversion—the source code control system we use—recommends, with \Trunk, \Tags and \Branches folders below the root.  The main development code base is contained in \Trunk.  In most cases, you will only have checked out the part of the tree for the desired version, such as the Image Viewer 2.0 / Framework SDK 2.0 in \Tags\RisViewer2.0SP1.  In either case, the source code directory is organized by project namespace.  This is best illustrated with a few examples:

 

Project

Path

ClearCanvas.Common.csproj

\Common

ClearCanvas.Desktop.Executable.csproj

\Desktop\Executable

ClearCanvas.ImageViewer.View.WinForms.csproj

\ImageViewer\View\WinForms

 

If a project has sub-namespaces, they are also put into folders:

Namespace

Path

ClearCanvas.ImageViewer.Graphics

\ImageViewer\Graphics

ClearCanvas.Dicom.Network

\Dicom\Network