dotnet/runtime

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

Open

#42.814 aperta il 28 set 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-Infrastructure-librarieshelp wanted

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

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.

Guida contributor