Getting Started
To use CheckSharp you will need to download and install Nant.
The following minimal nant script shows how to make nant load the CheckSharp task and run a code analysis on the source folder of a project.
<?xml version="1.0" ?> <project name="example" default="check" xmlns="http://nant.sf.net/release/0.85/nant.xsd"> <loadtasks assembly="/path/to/CheckSharp/CheckSharp.Tasks.dll" /> <target name="check"> <checksharp configuration="checks.xml"> <fileset basedir="src"> <include name="**/*.cs" /> </fileset> </checksharp> </target> </project>