The .NET Core SDK is not installed or cannot be found under the path

Mayank picture Mayank · May 17, 2016 · Viewed 33.4k times · Source

When compiling .Net Core RC2 project under VS 2015 I am receiving following error

GETSDKTOOLINGINFO : error : The .NET Core SDK is not installed or cannot be found under the path C:\Program Files\dotnet\bin. These components are required to build and run this project.

Files do exist under that directory.

Also when I input dotnet into command line I do see it's prining proper version number and stuff.(.NET Command Line Tools (1.0.0-beta-001598)

Any idea how to resolve the issue?

Answer

user6352951 picture user6352951 · May 18, 2016
  1. Remove all older versions of core
  2. Unistall Microsoft .NET CLI for Windows from control panel if it exists. This helped me.

After you install RC2, Make sure your control panel shows ONLY these for .Net Core

  • Microsoft .Net Core 1.0.0 RC2 - VS 2015 Tooling Preview 1 (1.0.20513.14)
  • Microsoft .Net Core 1.0.0 RC2 - SDK Preview 1 (x64) to be version 1.0.0.2702

Hope this helps.