Skip to content

Conversation

@MaxDac
Copy link
Contributor

@MaxDac MaxDac commented Jan 29, 2026

This pull request updates the minimum supported .NET version in the project configuration. Specifically, it lowers the OldestSupportedDotNetVersion from net10.0 to net9.0 in the Directory.Build.props file.
This is done to continue support for active monitoring application, which still depends on packages whose only available .NET targeting is 9.

  • Project configuration:
    • Lowered the OldestSupportedDotNetVersion from net10.0 to net9.0 in Directory.Build.props, expanding compatibility to include .NET 9.0.

Copilot AI review requested due to automatic review settings January 29, 2026 13:09
@MaxDac MaxDac requested a review from a team as a code owner January 29, 2026 13:09
@github-actions
Copy link

github-actions bot commented Jan 29, 2026

PR Metrics

Thanks for keeping your pull request small.
Thanks for adding tests.

Lines
Product Code -
Test Code -
Subtotal -
Ignored Code 1
Total 1

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!

@github-actions github-actions bot changed the title Re-adding net9 targeting for Activities extension XS✔ ◾ Re-adding net9 targeting for Activities extension Jan 29, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds .NET 9 (net9.0) targeting to the Activities extension packages to support downstream active monitoring systems. Without explicit net9.0 targeting, .NET 9 projects would fall back to netstandard2.0 builds that pull in .NET 10 dependencies, causing package downgrade errors (NU1109).

Changes:

  • Introduced SyntheticsCompatibilityVersion property set to net9.0 for conditional multi-targeting
  • Added conditional package version group for net9.0 builds using 9.0.x package versions
  • Updated Activities, Abstractions, and Testing.Helpers projects (and their unit tests) to include net9.0 target framework

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Directory.Build.props Added SyntheticsCompatibilityVersion property defining net9.0 as the synthetics compatibility target
Directory.Packages.props Added conditional ItemGroup for net9.0 targeting with 9.0.12 package versions to avoid dependency conflicts
src/Abstractions/Microsoft.Omex.Extensions.Abstractions.csproj Added net9.0 to target frameworks alongside existing net10.0 and netstandard2.0
src/Activities/Microsoft.Omex.Extensions.Activities.csproj Added net9.0 to target frameworks to enable .NET 9 consumers
src/Testing.Helpers/Microsoft.Omex.Extensions.Testing.Helpers.csproj Added net9.0 to target frameworks for test infrastructure compatibility
tests/Abstractions.UnitTests/Microsoft.Omex.Extensions.Abstractions.UnitTests.csproj Added net9.0 to test target frameworks to test the new net9.0 build
tests/Activities.UnitTests/Microsoft.Omex.Extensions.Activities.UnitTests.csproj Added net9.0 to test target frameworks to validate net9.0 targeting

@MaxDac MaxDac requested a review from K-Cully January 29, 2026 14:01
Copilot AI review requested due to automatic review settings January 30, 2026 09:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

@MaxDac MaxDac merged commit 1f279a6 into main Jan 30, 2026
13 checks passed
@MaxDac MaxDac deleted the maxdac/fix/re-adding-net9-targeting-for-activities branch January 30, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants