How to verify that all projects in a solution were fully migrated to .NET 10 (TargetFramework and LangVersion) with Rider IDE?
06:25 24 Jul 2026

I recently migrated a large solution (10+ projects) from .NET 8 to .NET 10, and updated the LangVersion from C# 12 to C# 14 in Rider IDE.

My concern: with that many projects, it's easy to accidentally miss one during a manual update. I'm looking for a reliable way to verify that ALL .csproj files in my solution actually target net10.0 and use LangVersion 14.

What I've tried so far:

  • Manually checking each .csproj — error-prone with many projects
  • A simple PowerShell regex scan over all .csproj files looking for "net10.0" — but this misses cases with multiple blocks or (plural, multi-targeting)

Questions:

  1. Is there a built-in Rider/Visual Studio feature that shows TargetFramework + LangVersion for all projects in a solution at once?
  2. Is there a dotnet CLI command?

Environment: Rider 2025.3.3, .NET 10 SDK, C# 14.

advice .net-8.0 rider migrate .net-10.0