Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Vladimir-Novick/eff136826aec34abc461b386eea24f22 to your computer and use it in GitHub Desktop.
Save Vladimir-Novick/eff136826aec34abc461b386eea24f22 to your computer and use it in GitHub Desktop.
Publish NET CORE 2 App to Ubuntu 16.04, and Windows_Server without install NET CORE 2 FRAMEWORK
ubuntu.16.04-x64
--------------------
dotnet publish -c Release -r ubuntu.16.04-x64
Release_Windows_Server_2008_R2
---------------------------------------------
dotnet publish -c Release -r win7-x64
Release_Windows_Server_2012_R2
-------------------------------------------
dotnet publish -c Release -r win81-x64
Publish as Windows Exe file ( Console application ) with specific folder:
----------------------------------------------------------------------------
dotnet publish -c Release -o E:/DASHBOARD/TASK_TEST -r win10-x64
Windows RIDs
Portable
win-x86
win-x64
Windows 7 / Windows Server 2008 R2
win7-x64
win7-x86
Windows 8 / Windows Server 2012
win8-x64
win8-x86
win8-arm
Windows 8.1 / Windows Server 2012 R2
win81-x64
win81-x86
win81-arm
Windows 10 / Windows Server 2016
win10-x64
win10-x86
win10-arm
win10-arm64
Linux RIDs
Portable
linux-x64
CentOS
centos-x64
centos.7-x64
Debian
debian-x64
debian.8-x64
Fedora
fedora-x64
fedora.24-x64
fedora.25-x64 (.NET Core 2.0 or later versions)
fedora.26-x64 (.NET Core 2.0 or later versions)
Gentoo (.NET Core 2.0 or later versions)
gentoo-x64
openSUSE
opensuse-x64
opensuse.42.1-x64
Oracle Linux
ol-x64
ol.7-x64
ol.7.0-x64
ol.7.1-x64
ol.7.2-x64
Red Hat Enterprise Linux
rhel-x64
rhel.6-x64 (.NET Core 2.0 or later versions)
rhel.7-x64
rhel.7.1-x64
rhel.7.2-x64
rhel.7.3-x64 (.NET Core 2.0 or later versions)
rhel.7.4-x64 (.NET Core 2.0 or later versions)
Tizen (.NET Core 2.0 or later versions)
tizen
Ubuntu
ubuntu-x64
ubuntu.14.04-x64
ubuntu.14.10-x64
ubuntu.15.04-x64
ubuntu.15.10-x64
ubuntu.16.04-x64
ubuntu.16.10-x64
Ubuntu derivatives
linuxmint.17-x64
linuxmint.17.1-x64
linuxmint.17.2-x64
linuxmint.17.3-x64
linuxmint.18-x64
linuxmint.18.1-x64 (.NET Core 2.0 or later versions)
See Prerequisites for .NET Core on Linux for more information.
macOS RIDs
macOS RIDs use the older "OSX" branding.
osx-x64 (.NET Core 2.0 or later versions, minimum version is osx.10.12-x64)
osx.10.10-x64
osx.10.11-x64
osx.10.12-x64 (.NET Core 1.1 or later versions)
osx.10.13-x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment