Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 370
Mayank Avatar asked May 17 '16 14:05

Mayank


Video Answer


1 Answers

  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.

like image 59
user6352951 Avatar answered Sep 18 '22 06:09

user6352951