dotnet publish コマンド - .NET CLI

dotnet publish コマンドを実行すると、.NET プロジェクトまたはソリューションがディレクトリに発行されます。