Skip to content

Instantly share code, notes, and snippets.

@iranika
Last active June 21, 2019 08:46
Show Gist options
  • Save iranika/a7d3a4179fdb6c41b44ab29f99a5058c to your computer and use it in GitHub Desktop.
Save iranika/a7d3a4179fdb6c41b44ab29f99a5058c to your computer and use it in GitHub Desktop.
dotnet CLIの使い方

dotnet CLIの使い方

.NET Core アプリケーションの展開

自己完結型の展開 (SCD)

dotnet publish -c Release -r <RID> --self-contained true

ポータブルなRID (.NET Core 2.0 以降のバージョン)

  • Windows

    • win-x64

    • win-x86

    • win-arm

    • win-arm64

  • Linux

    • linux-x64 (CentOS、Debian、Fedora、Ubuntu、および派生ディストリビューションなどのほとんどのデスクトップ ディストリビューション)

    • linux-musl-x64 (Alpine Linux など、musl を使用している軽量ディストリビューション)

    • linux-arm (Raspberry Pi など、ARM で実行されている Linux ディストリビューション)

  • macOS

    • osx-x64 (最小 OS バージョンは、macOS 10.12 Sierra です)

フレームワークに依存する展開 (FDD)

フレームワークに依存する実行可能ファイル (FDE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment