Skip to content

Automatically update the latest TFM in device tests from Directory.Build.props #5565

Closed

Description

@jamescrosswell

We want to run the tests on the latest TFM. We change this once per year.

There's a blurb now in the ## Upgrading to a new .NET major version section of the CONTRIBUTING.md explaining what we do.

We could automate this further by reading it directly from the build props.

Originally posted by @jamescrosswell in #5529 (comment)

Activity

  1. linear-code commented on Sep 10, 2026

    @linear-code
  2. added this to the 7.0.0 milestone on Sep 10, 2026
  3. jamescrosswell commented on Nov 9, 2026

    @jamescrosswell
    CollaboratorAuthor

    Done in #5895 on the version7 branch: scripts/device-test.ps1 now reads its default TFM from $(LatestTfm) in Directory.Build.props. Closing manually because that merge did not target the default branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions