💾 Archived View for freeshell.de › tldr › dotnet-publish.gmi captured on 2023-09-28 at 16:24:51. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Publish a .NET application and its dependencies to a directory for deployment to a hosting system.
dotnet publish --configuration Release {path/to/project_file}
dotnet publish --self-contained true --runtime {runtime_identifier} {path/to/project_file}
dotnet publish --runtime {runtime_identifier} -p:PublishSingleFile=true {path/to/project_file}
dotnet publish --self-contained true --runtime {runtime_identifier} -p:PublishTrimmed=true {path/to/project_file}
dotnet publish --no-restore {path/to/project_file}
dotnet publish --output {path/to/directory} {path/to/project_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).