Skip to content

Upgrade projects to target .NET 10#51537

Merged
gewarren merged 1 commit intodotnet:mainfrom
gewarren:proj-files-cli
Feb 6, 2026
Merged

Upgrade projects to target .NET 10#51537
gewarren merged 1 commit intodotnet:mainfrom
gewarren:proj-files-cli

Conversation

@gewarren
Copy link
Contributor

@gewarren gewarren commented Feb 6, 2026

(Used GitHub Copilot CLI.)

@dotnetrepoman dotnetrepoman bot added this to the February 2026 milestone Feb 6, 2026
@gewarren gewarren marked this pull request as ready for review February 6, 2026 16:01
@gewarren gewarren requested a review from a team as a code owner February 6, 2026 16:01
Copilot AI review requested due to automatic review settings February 6, 2026 16:01
@gewarren gewarren enabled auto-merge (squash) February 6, 2026 16:01
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 pull request upgrades code snippet project files to target .NET 10, updating them from various previous .NET versions (.NET 7, .NET 8, and .NET 9).

Changes:

  • Updated 37 project files (.csproj, .vbproj, .fsproj) to target .NET 10
  • Changed TargetFramework values from net7.0/net8.0/net9.0 to net10.0 (or net10.0-windows for Windows-specific projects)
  • Incidental removal of BOM (Byte Order Mark) characters from some project files

Reviewed changes

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

Show a summary per file
File Description
docs/fundamentals/runtime-libraries/snippets/System/String/Intern/fsharp/fs.fsproj Upgraded F# project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/fsharp/fs.fsproj Upgraded F# project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System/Span/Slice/csharp/slice.csproj Upgraded C# project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System/NotSupportedException/Overview/csharp/project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System/InvalidOperationException/Overview/vb/WinForms/WinFormsApp1.vbproj Upgraded VB Windows Forms project from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System/InvalidOperationException/Overview/csharp/WinForms/WFCrossThreadCS.csproj Upgraded C# Windows Forms project from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System/InvalidOperationException/Overview/csharp/WPF2/WPFCrossThreadDispatcherCS.csproj Upgraded C# WPF project from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System/InvalidOperationException/Overview/csharp/WPF1/WPFCrossThreadCS.csproj Upgraded C# WPF project from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System/InvalidOperationException/Overview/csharp/Other/project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System/InvalidCastException/Overview/csharp/project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlLinkedNode/csharp/PreviousSibling/Project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlDocument/Overview/vb/Non-WinForms/project.vbproj Upgraded VB library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Xml/XmlDocument/Overview/csharp/xmlprocessingapp.csproj Upgraded C# Windows Forms app from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System.Xml.Schema/XmlSchemaSet/Overview/vb/project.vbproj Upgraded VB library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Threading.Tasks/TaskScheduler/Overview/vb/WpfApp.vbproj Upgraded VB WPF project from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System.Threading.Tasks/TaskScheduler/FromCurrentSynchronizationContext/csharp/Project.csproj Upgraded C# WPF project from net8.0-windows to net10.0-windows
docs/fundamentals/runtime-libraries/snippets/System.Numerics/Complex/Overview/vb/Project.vbproj Upgraded VB project from net9.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Numerics/Complex/Overview/csharp/Project.csproj Upgraded C# project from net9.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Globalization/RegionInfo/csharp/Project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Globalization/NumberFormatInfo/csharp/project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Globalization/DateTimeFormatInfo/csharp/project.csproj Upgraded C# library project from net8.0 to net10.0
docs/fundamentals/runtime-libraries/snippets/System.Drawing.Drawing2D/Matrix/Overview/csharp/Project.csproj Upgraded C# Windows Forms project from net7.0-windows to net10.0-windows
docs/fundamentals/reflection/snippets/csharp/instantiate-generic-type/Project.csproj Upgraded C# project from net9 to net10.0 (also fixes missing .0 suffix)
docs/fundamentals/networking/telemetry/snippets/tracing/ConnectionTracingDemo.ServiceDefaults/ConnectionTracingDemo.ServiceDefaults.csproj Upgraded C# project from net9.0 to net10.0
docs/fundamentals/networking/telemetry/snippets/metrics/HelloBuiltinMetrics.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/tcp/tcp-listener/tcp-listener.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/tcp/tcp-client/tcp-client.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/socket/socket-server/socket-server.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/socket/socket-client/socket-client.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/shared/shared.csproj Upgraded C# library from net8.0 to net10.0
docs/fundamentals/networking/snippets/misc/misc.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/internal-diag-telemetry/internal-diag-telemetry.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/snippets/httpclient/httpclient.csproj Upgraded C# executable from net8.0 to net10.0
docs/fundamentals/networking/http/snippets/httpclient-guidelines/Project.csproj Upgraded C# library from net9.0 to net10.0
docs/fundamentals/code-analysis/quality-rules/snippets/vb/extra-rules/extra-rules.vbproj Upgraded VB library from net8.0 to net10.0
docs/fundamentals/code-analysis/quality-rules/snippets/csharp/extra-rules/extra-rules.csproj Upgraded C# library from net8.0 to net10.0

@gewarren gewarren merged commit d536959 into dotnet:main Feb 6, 2026
18 checks passed
@gewarren gewarren deleted the proj-files-cli branch February 6, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants