Installing the 2.1.x SDK on Debian 9 following directions from the MS website produces an install without support for 2.1
See original GitHub issueSteps to reproduce
- Install, following steps from website (https://www.microsoft.com/net/download/linux-package-manager/debian9/sdk-2.1.200)
- Create a basic project that targets netcore 2.1
dotnet build
ordotnet run
Expected behavior
It should work
Actual behavior
/usr/share/dotnet/sdk/2.1.200/Sdks/Microsoft.NET.Sdk/build/Microsoft.NET.TargetFrameworkInference.targets(135,5): error : The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. [/home/kate/Projects/mono/marshalertest/marshalertest.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.42
Environment data
dotnet --info
output:
kate@reeir-debian:~/Projects/mono/marshalertest$ dotnet --info
.NET Command Line Tools (2.1.200)
Product Information:
Version: 2.1.200
Commit SHA-1 hash: 2edba8d7f1
Runtime Environment:
OS Name: debian
OS Version: 9
OS Platform: Linux
RID: debian.9-x64
Base Path: /usr/share/dotnet/sdk/2.1.200/
Microsoft .NET Core Shared Framework Host
Version : 2.0.7
Build : 2d61d0b043915bc948ebf98836fefe9ba942be11
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Install the .NET SDK or the .NET Runtime on Debian
Demonstrates the various ways to install .NET SDK and .NET Runtime on Debian.
Read more >Composer install error - requires ext_curl when it's actually ...
After installing composer using the command curl -sS https://getcomposer.org/installer | php just run a sudo apt-get update then reinstall curl ...
Read more >Download Android Studio & App Tools
Android Studio can be installed on Microsoft® Windows®, MacOS®, Linux, and ChromeOS. ... You can use the included sdkmanager to download other SDK...
Read more >What is Dell Display Manager
Learn about the features of Dell Display Manager (DDM) software. Learn how to install DDM for Dell monitors, and manage your display needs....
Read more >2 Installation, Patching, and Configuration
This section describes issue and workarounds related to Oracle Fusion Middleware product installation. It includes the following topics: Section 2.1.1, " ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
From 2.1.300 onward, it should be eaiser to understand the versions. The first two parts will match the bundled runtime version.
@kg you should use https://www.microsoft.com/net/download/linux-package-manager/debian9/sdk-current instead ! (the new url pointed by https://www.microsoft.com/net/download/linux)