-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only the "CollectCoverage" property is working #1414
Comments
I do have .NET 7 SDK. That is annoying. |
I'm having the same issue with .NET 6 and Visual Studio 17.4 using this command:
|
Tried this instead based on a comment in #1391 and it worked.
|
Hi all, the issue was fixed by the microsoft guys with sdk 7.0.101 that was released last week microsoft/vstest#4014. I just checked it with a repro from another related issue and it works fine. Please give it a try again. |
I close this as the external issue is fixed. Feel free to reopen. |
I'm following the guide here to try and use coverlet to create a code coverage report.
In summary, I've run the following commands:
The issue is with the final step, where the output is:
So the output is still the default "coverage.json" instead of the expected cobertura xml.
So I tested with some other properties, and they also don't work:
And the output is exactly the same:
I've run the same thing on my home PC, and it is not having the same issues.
The only difference I can think of is that the PC with the issue is a Windows Server 2016 machine, and my home PC is a Windows 10.
I've tried a complete uninstall and reinstall of Visual Studio which didn't help.
Can anyone suggest a way I can get this to work?
The text was updated successfully, but these errors were encountered: