Visual Studio Coco Wizard
The Visual Studio® Coco Wizard is an application to edit the CoverageScanner options for C/C++ and C# projects on Microsoft® Visual Studio® and related systems.
The add-in reads solution files (*.sln
) and project files (*.proj
and *.vcxproject
) and modifies them.
These files are used by Visual Studio, Microsoft MSBuild, .NET Core, Visual Studio Code and other software.
How it works
From Visual Studio®, the add-in can be started from the menu entry Tools > Coco Wizard. It is then automatically configured to edit the solution file of the currently active project.
Another way to start it is from the Microsoft® Windows Start Menu, under Squish Coco > Visual Studio Coco Wizard. Then, select the solution or project file that should be modified.
Using Coco Wizard
The Visual Studio Coco Wizard has the following steps:
- File selection to select a solution or project file to edit either from the file system or from a list of recently used files.
This step does not occur when the add-in is started from Visual Studio.
- Modify build mode to edit an existing build mode. When this is chosen, you will be able to Enable, Edit or Remove the coveragescanner options for this build mode. If Edit is selected, you will see the Visual Studio Code Coverage Editor.
It is useful to have separate build modes for building with and without coverage. Therefore, at the beginning, you should copy an existing build mode and add coverage flags to it.
- Copy build mode to copy an existing build mode to one with a new name.
In general, it is recommended to create a separate build mode for coverage. The build mode can be copied from a debug build mode or a release mode, depending only on the requirements of the project.
- Delete build mode to delete a build configuration.
- Visual Studio Code Coverage Editor shows a two-column display with CoverageScanner options (see CoverageScanner command line arguments).
The list on the left side contains all possible options, and the one on the right contains the options that are activated for the build mode. The options can be dragged from left to right to activate them or from right to left to deactivate them.
If an option requires a parameter, a dialog window to set it appears when it is dragged from the right. To change the parameter of an option at the right column, double-click it.
Note that the order of the options matters. They can be rearranged with drag and drop.
- Summary to check the actual list of selected options.
If Visual Studio is running at this time, it will reload the
.sln
file and the project can be recompiled.
Coco v7.3.0 ©2025 The Qt Company Ltd.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.