BT

.NET Core 2.1 Preview 1 Released

| by Jeff Martin Follow 16 Followers on Mar 02, 2018. Estimated reading time: 1 minute |

In early February Microsoft announced their roadmap for .NET Core 2.1 during the first half of 2018.  At the time, a firm date for the first preview was not available, but the team has just released the first preview.

The preview of 2.1 is designed to be installed side-by-side with previous versions of the .NET Core SDK, which allows you to indicate which installed version is to be used with your projects.  Once installed, the preview will become the default on your system, but this behavior can be overridden by setting the version string on the 'sdk' property in a project’s global.json.  Of course this is still a preview, and so it should not be installed on critical systems.

Two new command line options are part of this preview, to make managing different versions of .NET Core easier.  The first, dotnet --list-sdks will provide a listing of all of the .NET Core SDKs installed on your system and their location on disk.  The second, dotnet --listruntimes provides a list of all of the installed runtimes and their location on disk.  Interestingly, once the preview SDK has been installed, both commands will remain as part of the .NET Core host and will remain even if the preview is uninstalled.

To use the .NET Core 2.1 SDK with Visual Studio 2017, you will need 15.6 Preview 6 or newer.  Installation packages are available for macOS, Linux, and Windows platforms.  Once installed, the dotnet --version command should list 2.1.300-preview1-008174 if the SDK is properly installed.  (Be sure to verify the version of .NET Core versus the version of the .NET CLI Tools.)  Full release notes are provided as is the current list of known issues.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Nice post by neel bhatt

Nice post. I have written the post on something similar here: neelbhatt.com/2018/03/01/first-look-of-asp-net-...

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT