最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - Fine Code Coverage(FCC) throwing issue while generating the report - Stack Overflow

programmeradmin5浏览0评论

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.

  1. Tried reinstalling the FCC.
  2. Re cloning the app & tried.
  3. 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.

  1. Tried reinstalling the FCC.
  2. Re cloning the app & tried.
  3. cleaning bin & obj folders.
Share Improve this question asked Mar 11 at 6:50 lokanath daslokanath das 9161 gold badge16 silver badges42 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

It helped to me:

  1. Set "RunMsCodeCoverage" to No

  2. Go to csproj files with tests and remove items start with <RunSettingsFilePath>

发布评论

评论列表(0)

  1. 暂无评论