Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

C-sharp integration build analysis - Cheat sheet

An integration build analysis...
  • gives you a snapshot of the current health of your software project. After you run an analysis, detected issues and reports are available in Klocwork Static Code Analysis.
  • is the first step in establishing the connected desktop in your organization.
Prerequisities:
Your first analysis
  1. Create a project:
    kwadmin create-project my_project
  2. Capture your build settings:
    kwcsprojparser <input_file> --config <config_name> -o kwcsprojparser.out
  3. Run the analysis:
    kwbuildproject  --url http://server2:8080/my_project --tables-directory /space/Klocwork/my_tables kwcsprojparser.out
  4. Load the database:
    kwadmin --url http://server2:8080/ load my_project /space/Klocwork/my_tables

Details: Running the C-sharp integration build analysis

Your next analysis

Each time you build your source files, run an analysis.

  1. Update your build settings:
    kwcsprojparser <input_file> --config <config_name> [--output <output_file>]
  2. Run the analysis:
    kwbuildproject --url http://server2:8080/my_project --tables-directory /space/Klocwork/my_tables input_file.out
  3. Load the database:
    kwadmin --url http://server2:8080/ load my_project space/Klocwork/my_tables

Details: Running the C-sharp integration build analysis