Skip to content

Use .NET 8 instead of .NET 9 since it's still supported#197

Merged
spadapet merged 1 commit intomainfrom
dev/peterspa/net8
Mar 2, 2026
Merged

Use .NET 8 instead of .NET 9 since it's still supported#197
spadapet merged 1 commit intomainfrom
dev/peterspa/net8

Conversation

@spadapet
Copy link
Copy Markdown
Member

@spadapet spadapet commented Mar 2, 2026

Description of Change

While I had to update the .NET SDK to .NET 9, I didn't have to update the projects. This change switches the projects back to .NET 8 to stay compatible with apps on .NET 8 (which is supported until November 2026).

Caused by: #192

Bugs Fixed

#196

Copy link
Copy Markdown
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 updates the supported .NET target frameworks to restore compatibility with applications on .NET 8, in response to feedback that recent releases skipped .NET 8 support.

Changes:

  • Switch Microsoft.Xaml.Behaviors.Wpf from net9.0-windows back to net8.0-windows (while keeping net462).
  • Switch the unit test project from net9.0-windows back to net8.0-windows (while keeping net462).

Reviewed changes

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

File Description
src/Microsoft.Xaml.Behaviors/Microsoft.Xaml.Behaviors.csproj Retargets the package’s modern TFM from net9.0-windows to net8.0-windows to maintain .NET 8 compatibility.
Test/UnitTests/UnitTests.csproj Aligns test targets with the library by moving from net9.0-windows to net8.0-windows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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