dotnet/runtime

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

Open

#42.814 geöffnet am 28. Sept. 2020

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (5.445 Forks)batch import
area-Infrastructure-librarieshelp wanted

Repository-Metriken

Stars
 (17.886 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide