question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SDK 2.1.100 installed after updating VS 2017 15.6.1

See original GitHub issue

@Vaiune commented on Fri Mar 09 2018

I’ve updated visual studio 2017 to 15.6.1 this morning. After that i got

.NET Command Line Tools (2.1.100)

Product Information:
 Version:            2.1.100
 Commit SHA-1 hash:  b9e74c6520

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.1.7601
 OS Platform: Windows
 RID:         win7-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.100\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.5
  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54

Prior to update I had 2.1.4 and everything was fine. dotnet new react scaffolds the old template that doesn’t use create-react-app as it should. If I create a global.json file indicating SDK 2.1.4 then it scaffolds the correct template with CRA.

https://www.microsoft.com/net/download/Windows/build shows 2.1.4 as the latest version.

Is this supposed to happen with the update VS 2017 15.6.1?


@Kritner commented on Fri Mar 09 2018

Ok, so not just me!

I see that I do in fact have 2.1.4 in my sdks folder, but even at root, with no global.json config, dotnet --version shows 2.1.100.

I unfortunately cannot confirm that it said 2.1.4 prior to the VS update.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:25 (14 by maintainers)

github_iconTop GitHub Comments

3reactions
livarcocccommented, Mar 26, 2018

SDK 2.1.102 does not include .NET Core 2.1. The earliest version available of teh .NET Core SDK that is compatible with .NET Core 2.1 is 2.1.300 which is available as preview1 at get.dot.net.

We have since then re-worked our versioning story to align the SDK version major.minor version numbers with the runtime major.minor version numbers, but until we are past 2.1, we will have this confusion point.

3reactions
Kritnercommented, Mar 9, 2018

huh… maybe that’s just my misunderstanding of versioning (is this semantec versioning?). I was under the impression the trailing zeroes were ignored (similar to a decimal), but I can’t actually find any information on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The current .NET SDK does not support targeting . ...
This happened to me after installing 2.2.100-preview3-009430 and then updating to Visual Studio 15.9.2. I resolved by enabling the "Use previews ...
Read more >
Visual Studio 2017 15.6 Release Notes
Release notes for the latest features and improvements in Visual Studio 2017 v15.6. Plan better, code together and ship faster with Visual ......
Read more >
Could Not Install microsoft.net.core.sdk.2.1
Something went wrong with the install. You can troubleshoot the package failures by: 1. Search for solutions using the search URL below for ......
Read more >
Download .NET Core 2.0 (Linux, macOS, and Windows)
NET Core 2.0 downloads for Linux, macOS, and Windows. ... Build apps - SDK ... On Windows, we recommend installing the Hosting Bundle,...
Read more >
SDK 2.1.100 - .NET Core
Release 2.1.100 of .NET Core, released on 2018-03-13. versionsof.net gives an overview of all releases and versions of .NET Core.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found