I created a GitHub Gist with the output of the commands I used to remove and install dotnet-sdk-3.1 then create a single C# app using the dotnet command.
Here is some up-front information about my system and dotnet on it.
➜ dotnet-core-sample dotnet --list-sdks
3.1.301 [/usr/share/dotnet/sdk]
➜ dotnet-core-sample dotnet --version
3.1.301
➜ dotnet-core-sample uname -a
Linux localhost.localdomain 5.6.18-300.fc32.x86_64 #1 SMP Wed Jun 10 21:38:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
➜ dotnet-core-sample cat /etc/os-release
NAME=Fedora
VERSION="32 (Thirty Two)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Thirty Two)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
I created a GitHub Gist with the output of the commands I used to remove and install
dotnet-sdk-3.1then create a single C# app using thedotnetcommand.Here is some up-front information about my system and dotnet on it.