dotnet/runtime
TestRuntime property in test projects is static and not up-to-date
Ouverte
#42 814 ouverte le 28 sept. 2020
area-Infrastructure-librarieshelp wanted
Métriques du dépôt
- Stars
- (17 886 étoiles)
- Métriques de merge PR
- (Merge moyen 12j 11h) (661 PRs mergées en 30 j)
Description
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.