
dotnet-publish
List of commands for dotnet-publish:
-
dotnet-publish:tldr:314f6 dotnet-publish: Specify the output directory.$ dotnet publish --output ${path-to-directory} ${path-to-project_file}try on your machineexplain this command
-
dotnet-publish:tldr:39778 dotnet-publish: Trim unused libraries to reduce the deployment size of an application.$ dotnet publish --self-contained true --runtime ${runtime_identifier} -p:PublishTrimmed=true ${path-to-project_file}try on your machineexplain this command
-
dotnet-publish:tldr:90e39 dotnet-publish: Publish the .NET Core runtime with your application for the specified runtime.$ dotnet publish --self-contained true --runtime ${runtime_identifier} ${path-to-project_file}try on your machineexplain this command
-
dotnet-publish:tldr:a2d75 dotnet-publish: Compile a .NET project in release mode.$ dotnet publish --configuration Release ${path-to-project_file}try on your machineexplain this command
-
dotnet-publish:tldr:c4820 dotnet-publish: Compile a .NET project without restoring dependencies.$ dotnet publish --no-restore ${path-to-project_file}try on your machineexplain this command
-
dotnet-publish:tldr:f20c1 dotnet-publish: Package the application into a platform-specific single-file executable.$ dotnet publish --runtime ${runtime_identifier} -p:PublishSingleFile=true ${path-to-project_file}try on your machineexplain this command