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

前端 未结 7 1556
悲&欢浪女
悲&欢浪女 2021-02-01 16:36

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

GETSDKTOOLINGINFO : error : The .NET Core SDK is not installed or cann

相关标签:
7条回答
  • 2021-02-01 17:09

    New update: 2021 Jan Update VS Code/ VS 2019/CLI:

    Get/Download LATEST CORE version

    here

    1. A) first check what you have --> run dotnet --info for runtime & dotnet --list-sdks for SDK, from the command line, then B) check which ones can be un/re-installed dotnet-core-uninstall list download MS tool from here IT WILL CLEAN uninstall correctly,


    1. Now you can re/install .Net Core make sure you close your VS Code / VS Studio, and then do your un-install/install
    2. (Windows Skip) for Mac only add your /usr/local/share/dotnet to PATH in your ~/.bash_profile
    3. the install from here on Microsoft

    1. To Fix Path for CLI commands, run these below it will add it to your path:

    set DOTNET_ROOT=%USERPROFILE%\dotnet
    set PATH=%USERPROFILE%\dotnet;%PATH%
    set DOTNET_MULTILEVEL_LOOKUP=0
    
    0 讨论(0)
提交回复
热议问题