dotnet/runtime

TestRuntime property in test projects is static and not up-to-date

开放

#42,814 创建于 2020年9月28日

 (2 条评论) (0 个反应) (0 位负责人)C# (5,445 个派生)batch import
area-Infrastructure-librarieshelp wanted

仓库指标

星标
 (17,886 个星标)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

The TestRuntime property determines if code coverage should instrument System.Private.CoreLib. The TestRuntime property was added to projects that test code that resides in System.Private.CoreLib. The problem is that this property is static and hasn't be updated or added to newer projects.

This property should be replaced by checking if a ProjectReference to CoreLib exists.

贡献者指南