Skip to content

Add .NET 10 build targets - #454

Merged
Jason Ginchereau (jasongin) merged 3 commits into
mainfrom
dev/jasongin/dotnet10
Aug 3, 2025
Merged

Add .NET 10 build targets#454
Jason Ginchereau (jasongin) merged 3 commits into
mainfrom
dev/jasongin/dotnet10

Conversation

@jasongin

@jasongin Jason Ginchereau (jasongin) commented Aug 3, 2025

Copy link
Copy Markdown
Member

This change adds net10.0 build targets for all the projects. The build targets are conditional on use of the .NET 10 SDK in global.json, which is not yet updated. So while official builds will not include .NET 10 yet, it is easy to manually update global.json for testing.

Tests found one major compatibility issue with .NET 10, which is that the runtime type builder is more strict about type attributes and interface method implementations than it was previously. So there are lots of code updates in SymbolExtensions.cs to comply with the new validations when converting from compiler symbols to runtime types. After that fix, all unit tests are passing on .NET 10.

@jasongin Jason Ginchereau (jasongin) changed the title Support .NET 10 Add .NET 10 build targets Aug 3, 2025
@jasongin
Jason Ginchereau (jasongin) marked this pull request as ready for review August 3, 2025 22:05
@jasongin
Jason Ginchereau (jasongin) merged commit 11c5a48 into main Aug 3, 2025
24 checks passed
@jasongin
Jason Ginchereau (jasongin) deleted the dev/jasongin/dotnet10 branch August 3, 2025 22:06
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.

2 participants