Skip to content

Failure to find coverage file #552

Description

@ricardojvsilva

Sometimes the coverage doesn't run, I Run the tests, it starts but then it states it can't find the coverage file, I normally have to close VS and open it again, and it doesn't always work.

Microsoft Visual Studio Professional
Atualização de Recursos janeiro de 2026
Canal: Stable
Versão: 18.2.0

[27/01/2026 9:55:52.301 ] : ================================== COVERAGE STARTING - 2 ==================================
[27/01/2026 9:55:52.306 ] : No enabled Tunit test projects.
[27/01/2026 9:55:58.614 ] : ================================== COVERAGE STARTING - 31 ==================================
[27/01/2026 9:55:58.824 ] : runsettings written to D:\Work\App-Collect-BFF\src\AppCollectBFF.Tests\bin\Debug\net8.0\fine-code-coverage\coverage-tool-output\AppCollectBFF.Tests-fcc-mscodecoverage-generated.runsettings

<?xml version="1.0" encoding="utf-8"?> <RunSettings> <RunConfiguration> <ResultsDirectory>D:\Work\App-Collect-BFF\src\AppCollectBFF.Tests\bin\Debug\net8.0\fine-code-coverage\coverage-tool-output</ResultsDirectory> <TestAdaptersPaths>C:\Users\ricar\AppData\Local\FineCodeCoverage\msCodeCoverage\17.13.0\build\netstandard2.0</TestAdaptersPaths> <CollectSourceInformation>False</CollectSourceInformation> </RunConfiguration> <DataCollectionRunSettings> <DataCollectors> <DataCollector friendlyName="Code Coverage" enabled="True"> <Configuration> <CodeCoverage> <ModulePaths> <Exclude></Exclude> <Include></Include> </ModulePaths> <Functions> <Exclude></Exclude> <Include></Include> </Functions> <Attributes> <Exclude></Exclude> <Include></Include> </Attributes> <Sources> <Exclude></Exclude> <Include></Include> </Sources> <CompanyNames> <Exclude></Exclude> <Include></Include> </CompanyNames> <PublicKeyTokens> <Exclude></Exclude> <Include></Include> </PublicKeyTokens> <UseVerifiableInstrumentation>True</UseVerifiableInstrumentation> <AllowLowIntegrityProcesses>True</AllowLowIntegrityProcesses> <CollectFromChildProcesses>True</CollectFromChildProcesses> <CollectAspDotNet>False</CollectAspDotNet> </CodeCoverage> <Format>Cobertura</Format> <FCCGenerated /> </Configuration> </DataCollector> </DataCollectors> </DataCollectionRunSettings> </RunSettings>

[27/01/2026 9:55:58.826 ] : Ms code coverage
[27/01/2026 9:55:59.399 ] : ================================== COVERAGE STARTING - 4 ==================================
[27/01/2026 9:55:59.400 ] : No enabled Tunit test projects.
[27/01/2026 9:56:29.911 ] : No cobertura files for ms code coverage.
[27/01/2026 9:56:29.920 ] : ================================== DONE ==================================

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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