In the latest version of VS 17.13.2, FCC is breaking with the below error
System.InvalidOperationException: Failed to load RunSettings file: 'C:\Users\xyz\src\Services.UnitTests\bin\Debug\net8.0\fine-code-coverage\coverage-tool-output\Services.UnitTests-fcc-mscodecoverage-generated.runsettings'. Please check if the file exists and is valid.
This is reproduceable across all systems. Need any help for any work around.
- Tried reinstalling the FCC.
- Re cloning the app & tried.
- cleaning bin & obj folders.
In the latest version of VS 17.13.2, FCC is breaking with the below error
System.InvalidOperationException: Failed to load RunSettings file: 'C:\Users\xyz\src\Services.UnitTests\bin\Debug\net8.0\fine-code-coverage\coverage-tool-output\Services.UnitTests-fcc-mscodecoverage-generated.runsettings'. Please check if the file exists and is valid.
This is reproduceable across all systems. Need any help for any work around.
- Tried reinstalling the FCC.
- Re cloning the app & tried.
- cleaning bin & obj folders.
1 Answer
Reset to default 0It helped to me:
Set "RunMsCodeCoverage" to No
Go to csproj files with tests and remove items start with
<RunSettingsFilePath>