Skip to content

Add .NET 10 multitargeting support#24

Merged
awaescher merged 4 commits into
masterfrom
copilot/update-projects-to-dotnet10
Nov 11, 2025
Merged

Add .NET 10 multitargeting support#24
awaescher merged 4 commits into
masterfrom
copilot/update-projects-to-dotnet10

Conversation

Copilot AI commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

Adds .NET 10.0 as an additional target framework while preserving existing .NET 6 and .NET 8 targets.

Changes

  • SDK: Updated global.json to .NET 10.0.100 with latestMinor rollForward
  • Projects: Added net10.0-windows to TargetFrameworks in all project files
  • CI: Added .NET 10.0.x to GitHub Actions workflow
  • WinForms: Fixed WFO1000 designer error by marking AllowUpdates property with [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

The WFO1000 fix addresses a new .NET 10 requirement where public properties on Form-derived classes must declare their designer serialization behavior:

// PreviewForm.cs
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public bool AllowUpdates { get; set; } = true;

NuGet packages now include assemblies for all three target frameworks.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: curl -I -sSL --retry 5 --retry-delay 2 --connect-timeout 15 REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>.NET 10 (Multitargeting)</issue_title>
<issue_description>.NET 10 just came out, update all the projects and test projects. Also make sure to ensure the right SDKs for the build actions.
Use Multitargeting so .NET 10 comes as addition.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 11, 2025 20:20
Co-authored-by: awaescher <3630638+awaescher@users.noreply.github.com>
Co-authored-by: awaescher <3630638+awaescher@users.noreply.github.com>
Copilot AI changed the title [WIP] Update projects and test projects to .NET 10 with multitargeting Add .NET 10 multitargeting support Nov 11, 2025
Copilot AI requested a review from awaescher November 11, 2025 20:28
@awaescher awaescher marked this pull request as ready for review November 11, 2025 20:28
Comment thread README.md
@awaescher awaescher merged commit f754ab7 into master Nov 11, 2025
1 of 2 checks passed
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.

.NET 10 (Multitargeting)

2 participants