Code coverage and test results for .NET Core projects in VSTS
问题 How do we enable code coverage and test results for .NET Core projects in VSTS? Currently, it is not enabled for a .NET Core test task. 回答1: You can use Visual Studio Test task with /framework:".NETCoreApp,Version=v1.1" option to run .NET Core tests. (Specify vstest.console.exe path in a Visual Studio Test task: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\TestPlatform) An article about code coverage: Working with Code Coverage . But there is the issue