Does Rider support .NET standard?

Answered

Greetings, 

 

How can I develop against the .NET standard using Rider, under Linux? (Ubuntu). I could not find any mention of this in the Rider help documents or in the RTM version of the IDE.  What extra software I'd need to implement, other than the Rider itself? The new .NET Standard 2.0 offers quite a bit that I could use, so I'm keen to give it a go using Rider.

 

3 comments
Comment actions Permalink

You need to make sure you have the dotnet SDK installed, and then you can either use dotnet new to create a .net standard library project which you can open in Rider, or you can create a new Class Library project from Rider's New Project templates - the "Class Library" template under .NET Core will actually create a .NET Standard library, and the target is easily changed by editing the "TargetFramework" element in the .csproj (right click on the project in the Solution Explorer).

0
Comment actions Permalink

Thanks Matt.  This is very exciting. I will give it a go and update this thread. 

0
Comment actions Permalink

The .net standard types should be pulled out of the .net core section to improve user experience.

.net standard can be used in many scenarios outside of .net core.

0

Please sign in to leave a comment.