This taskdef compiles a C# solution.
| Name | Required? | Default | Property | Notes |
| projectrootfolder | no | current dir | CS_ROOT | the folder where the project folders are. |
| projectfolder | no | targetname | none | The project folder is assumed to have the same name as the ant target |
| project | no | targetname.sln | none | The project file is assumed to have the same name as the ant target |
| buildmode | no | release | CSBUILDMODE | typically release or debug |
| compilerfolder | no | none | CSCOMPILERFOLDER | the folder where devenv.exe can be found |
| failonerror | no | true | none | if true, compilation stops on first failure. |
| logfile | no | logfile.txt | CSLOGFILE | all compilation output is redirected to this file |
| targets | no | targetname.sln | none | a fileset indicating which .sln to build |