KlocworkSolution Properties dialog in Visual Studio

To open the Klocwork Solution Properties dialog in Visual Studio, right-click a solution and select Klocwork Solution Properties.

There are separate tabs for C/C++ and C#, as well as a tab for configuring Source Code Management (SCM) systems.

Klocwork projects loading status

This status bar can display several possible messages, as follows:

  • Ready: Your project is properly synchronized with the Validate server and authentication is verified (if required).
  • Login: There is an authentication error. Click Login to open the authentication dialog and enter your credentials.
  • Failed to retrieve projects: There is an error with your Validate server settings. Click Settings to open the General options dialog and troubleshoot the error.

You can use the Refresh button to update the project list and/or to sync the latest taxonomy and checker configuration settings.

C/C++ projects

  • Klocwork Project specifies the C/C++ Validate server project with which this Visual Studio solution is associated. Both Klocwork project language tabs (one for C/C++ and one for C#) are visible if your solution contains both C/C++ and C# projects.
  • C++ Issue Configuration allows you to enable or disable checkers.

Makefile projects

You can use the Update Build Specification action to explicitly generate a build specification for your solution or project. When selected, the Update Build Specification action performs clean and build operations on your project or solution. The build specification is generated on a per-project basis, using the Visual Studio project configuration.

To explicitly generate a build specification whenever you right-click your solution, project, folder or file, click Use the build specification generated by the "Update Build Specification" action.

This option must be enabled for the Update Build Specification action to appear in the context menu. This is only available for makefile projects.

To use a custom build specification for a project

  1. Click Specify a Custom Build Specification.
  2. Select your build configuration type from the Configuration list.
  3. Select your platform from the Platform list.
  4. Click ... then browse to your build specification file.

C# projects

  • Klocwork Project specifies the C# Validate server project with which this Visual Studio solution is associated. Both Klocwork project language tabs (one for C/C++ and one for C#) are visible if your solution contains both C/C++ and C# projects.
  • C# Issue Configuration allows you to enable or disable checkers.

SCM Settings

This tab contains a list of SCM's that are supported within Visual Studio. You can configure and test your settings for each SCM manually from this tab if required.

Related Topics Link IconSee also