-
Notifications
You must be signed in to change notification settings - Fork 39
XS✔ ◾ Re-adding net9 targeting for Activities extension
#792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XS✔ ◾ Re-adding net9 targeting for Activities extension
#792
Conversation
PR Metrics✔ Thanks for keeping your pull request small.
Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs! |
Activities extensionActivities extension
There was a problem hiding this 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
SyntheticsCompatibilityVersionproperty set tonet9.0for conditional multi-targeting - Added conditional package version group for
net9.0builds using 9.0.x package versions - Updated Activities, Abstractions, and Testing.Helpers projects (and their unit tests) to include
net9.0target 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 |
There was a problem hiding this 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.
This pull request updates the minimum supported .NET version in the project configuration. Specifically, it lowers the
OldestSupportedDotNetVersionfromnet10.0tonet9.0in theDirectory.Build.propsfile.This is done to continue support for active monitoring application, which still depends on packages whose only available .NET targeting is 9.
OldestSupportedDotNetVersionfromnet10.0tonet9.0inDirectory.Build.props, expanding compatibility to include .NET 9.0.