Including The Task In Your Project's Project File Afterwards you will get following build error:
The "FSharpLintTask" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'FSharpLint.Application, Version=0.1.11.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'FSharpLint.Application, Version=0.1.11.0, Culture=neutral, PublicKeyToken=null'
nCrunch conditional build behaviour
When executing any kind of build, NCrunch will always inject a special property that can be used to identify it during the build. The property is $(NCrunch) with a value of 1. Therefor you need to turn off FSharpLint while building with nChrunch. Anyway it has no sence :)
Condition="'$(NCrunch)' != '1'" with MSBuild XML nodes to disable execution for nCrunch and see
MyProject.fsproj for more samples