Moving to .Net 10

Dani_S 4,896 Reputation points
2025-12-15T05:11:42.6066667+00:00

Hi,

1,My solution is consists of following projects:

a. Console App project in .NET 9.

b. Class Library project - netstandard2.0 .

c. WPF App project - in .NET 9.

d. XUnit Tests project -in .NET 9.

  1. I'm using VS 2026.

3.I want to move to .NET 10 :

a. It possible, is yes how ?

b. My class Library project - is netstandard2.0 ,

Console App project + WPF App project + XUnit Tests project have a references to it?

It work on .NET 9 , it will work while moving to .NET 10 ?

4.What the benefits to move to .NET 10 in all projects?

Thanks in advance,

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-12-15T05:11:53.9+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Yes, it is possible to move your solution to .NET 10. Here are the steps you can follow:

    1. Update Package References: For each project in your solution, you will need to update the package references in the project files to target .NET 10. For example, you should update the Version attribute of the Microsoft.AspNetCore.*, Microsoft.EntityFrameworkCore.*, and Microsoft.Extensions.* packages to 10.0.0 or later.
    2. Class Library Project: Since your Class Library project is targeting netstandard2.0, it will still be compatible with .NET 10 projects. The .NET 10 Console App, WPF App, and XUnit Tests projects can reference your Class Library without issues.
    3. Project Compatibility: The Console App, WPF App, and XUnit Tests projects that are currently targeting .NET 9 will need to be updated to target .NET 10. You can do this by changing the target framework in their respective project files to net10.0.
    4. Testing: After making these changes, thoroughly test your applications to ensure that everything works as expected after the migration.

    By following these steps, you should be able to successfully migrate your solution to .NET 10 while maintaining the references to your Class Library project.


    References:


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.