Skip to content

Code coverage not working for Globalization* test projects #27454

@ViktorHofer

Description

@ViktorHofer
  • System.Globalization.CalendarsWithConfigSwitch.Tests.csproj
  • Invariant.Tests.csproj

Issues:

  • Using old msbuild property: UsingCoverageDedicatedRuntime which is now called UseCoverageDedicatedRuntime.
  • This property isn't set at evaluation time as it is defined in CodeCoverage.targets which is only available when targets are imported, which happens at the end of a project file.

I'm going to submit a fix for this but the bigger issue is that we currently store all properties in the targets file instead of props files. We'll want to refactor that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions