![](/img/trans.png)
[英]Adding Code Coverage of .NET Core XUnit project to VSTS build
[英]Getting code coverage in .net core, xUnit project
我正在嘗試使用https://github.com/Microsoft/vstest-docs/blob/master/docs/analyze.md#working-with-code-coverage的指示來在.net核心項目中獲得代碼覆蓋率
但是,當我添加代碼覆蓋率選項時,出現此錯誤:
Starting test execution, please wait...
Unable to read data from the transport connection: An existing connection was
forcibly closed by the remote host.
Object reference not set to an instance of an object.
也許有人經歷過它,可以分享如何修復的知識?
當我嘗試以管理員身份運行Powershell時,此問題消失了,所以我猜想它與訪問權限有關。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.