.NET: use a preview version in your global.json

We are currently in the preview phase of .NET 9 , which releases in Nov 2024 - and if you want to test it extensively like I do, store the preview version in the global configuration global.json . But how do you have to define the version here for it to work?

Wrong

Intuitively, you would assume that you can simply copy and paste the version - but that would be too simple for the .NET world.

1{
2  "sdk": {
3    "version": "9.0.100-preview.5.24306.7"
4  }
5}

Correct

The correct definition is the pure preview version specification.

1{
2  "sdk": {
3    "version": "9.0.100-preview.5"
4  }
5}
What Matters in ASP.NET Core 11

Sep 14, 2026 - 10 min read

What Matters in ASP.NET Core 11

ASP.NET Core 11 has no single feature that fundamentally changes how web applications are built. That is not a criticism. Mature frameworks …


Let's Work Together

Looking for an experienced Platform Architect or Engineer for your next project? Whether it's cloud migration, platform modernization or building new solutions from scratch - I'm here to help you succeed.

New Platforms

Modernization

Training & Consulting