Skip to content

FCCSolutionOutputDirectoryName not working within finecodecoverage-settings.xml #348

Open
@Mindc0re

Description

@Mindc0re

Installed product versions

  • Visual Studio 2022 Professional, v17.4.4
  • Fine Code Coverage 2022, v1.1.194

Description

I'm trying to provide different FCC configurations for my different projects, using finecodecoverage-settings.xml files.
I placed the files in the solution's folders, and it seems to work fine : for example, I can use the "Enabled" or "Include" options just fine.
But the "FCCSolutionOutputDirectoryName" option, used to specify a folder for the output, does not work at all. I cannot make it work within the xml settings files. When I set it through the Visual Studio settings, it works perfectly, but as long as the option is empty in the Visual Studio Settings, the reports are generated in the default folder (which, in my case, is the folder of one of the unit test assemblies being run for the coverage).

Steps to recreate

  1. Install the extension
  2. Create a finecodecoverage-settings.xml in the solution's folder and add it as a Solution Item in Visual Studio
  3. Try to use the FCCSolutionOutputDirectoryName option, while it is empty in the Visual Studio settings.
  4. Launch a coverage

Here is the content of my finecodecoverage-settings.xml file :

<?xml version="1.0" encoding="utf-8"?>
<root>
	<Enabled>true</Enabled>
	<FCCSolutionOutputDirectoryName>L:\WRK\HEPHAISTOS\src\.fcc</FCCSolutionOutputDirectoryName>
</root>

Current behavior

As explained in the description above, the FCCSolutionOutputDirectoryName option does not work when provided by the finecodecoverage-settings.xml file.

Expected behavior

The FCCSolutionOutputDirectoryName option should work as expected when providing a correct path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions