This page contains reference information about the Inspections (.Net) Build Runner fields:
note
To run inspections for your project, you must have a ReSharper inspection profile for .NET projects.
Sources to Analyze
Option
Description
Solution file path
The path to .sln file created by Microsoft Visual Studio 2005 or later. The specified path should be relative to the checkout directory.
Projects filter
Specify project name wildcards to analyze only a part of the solution. Leave blank to analyze the whole solution. Separate wildcards with new lines. Example:
JetBrains.CommandLine.* *.Common *.Tests.*
Environment Requirements
note
In order to launch inspection analysis, you should have .NET Framework 4.0 (or higher) installed on an agent where builds will run.
Option
Description
Target Frameworks
This option allows you to handle the Visual Studio Multi-Targeting feature. Agent requirement will be created for every checked item.
note
.NET Frameworks client profiles are not supported as target frameworks
InspectCode Options
Option
Description
Custom settings profile path
The path to the file containing ReSharper settings created with JetBrains Resharper 6.1 or later. The specified path should be relative to the checkout directory. If specified, this settings layer has the top priority, so it overrides ReSharper build-in settings. By default, build-in ReSharper settings layers are applied. For additional information about ReSharper settings system, visit ReSharper Web Help and JetBrains .NET Tools Blog
Enable debug output
Check this option to include debug messages in the build log and publish the file with additional logs (dotnet-tools-inspectcode.log) as a hidden artifact.
Build Failure Conditions
If a build has too many inspection errors or warnings, you can configure it to fail by setting a Build Failure Conditions.
Build before analyze
In order to have adequate inspections execution results, you may need to build your solution before running analysis. This pre-step is especially actual when you use (implicitly or explicitly) code generation in your project.