dotnet/runtime

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

Open

#42,814 opened on 2020年9月28日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-Infrastructure-librarieshelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (平均マージ 12d 11h) (30d で 661 merged PRs)

説明

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.

コントリビューターガイド