Willem's Fizzy Logic

Run Rider even with the new .NET Core 2.0 SDK

Run Rider even with the new .NET Core 2.0 SDK

This week .NET Core 2.0 alongside with ASP.NET Core 2.0 was released. A lot of improvements were made to the runtime and the size of the standard libraries has increased significantly. More and more .NET APIs are available to you.

Also, Rider was released a new IDE specifically for .NET development in C# and F#. It currently supports only .NET Core 1.x. You can of course run .NET Core 2.0, but it will warn you that not everything works as expected.

You can of course use Rider even with these limitations. But if you're working on an existing project and can't upgrade it's better to have it running on the 1.x SDK.

Luckely there's a good tool for that. The .NET Core SDK switcher: https://github.com/faniereynders/dotnet-sdk-helpers

When you follow the instructions in the Github repository you can run the following command to switch to the older SDK

dotnet sdk 1.0.4

Now when you run Rider it will automatically use the older SDK.

If you want to switch back, run the following command:

dotnet sdk 2.0.0

Easy as that! Happy hacking :-)

About

Willem Meints is a Chief AI Architect at Aigency/Info Support, bringing a wealth of experience in artificial intelligence and software development. As a Microsoft AI Most Valuable Professional (MVP), he has been recognized for his significant contributions to the AI community.

In addition to his professional work, Willem is an author dedicated to advancing the field of AI. His latest work focuses on effective applications of large language models, providing valuable guidance for professionals and enthusiasts alike.

Willem is a fan of good BBQ, reflecting his appreciation for craftsmanship both in and out of the digital realm.

Contact