Closed taconaut closed 1 year ago
Hi there, is there any way you could create a small repo project for us to debug this?
Hi @Romanx, sure, I've set it up here: https://github.com/taconaut/MissingCoverageReport-Cake.Coverlet.MRE
On windows, run .\build.ps1 --target=test
in the root dir.
I made sure it generates coverage report on a not update machine, which it did.
dotnet --version
: 6.0.306dotnet msbuild --version
: 17.2.2.46308Unit-Test output, including the coverlet output (which is missing after the VS 17.4 update):
On the updated (work) machine it looks like this:
After mhaving done some digging in the coverlet issues, this seems to be a donet
bug
https://github.com/coverlet-coverage/coverlet/issues/1391
Hi,
Since upgrading Visual Studio 17.4 which in turn installed dotnet 7 SDK along with MSBuild 17.4, coverlet reports are not being generated, respectively saved. Not sure if dotent, msbuild, coverlet or cake.coverlet is at cause here. Before the VS update everything has been working fine.
Installed versins:
dotnet --version
: 7.0.100dotnet msbuild --version
: 17.4.0.51802Below, the relevant parts of
cake.build
Which generates the dotnet command:
with results
The test result file
".\test-output\test-results\test-results-Infrastructure.LogAggregator.Tests.Integration.csproj.xml"
is being generated but the coverage file, which should have been saved to.\test-output\coverage-results\
are missing (this worked fine before the VS update).Any idea what's going on? If I have to change something on my side?
Btw I encounter other issues related to build automation since the VS update.