Skip to content

Commit d74dd0d

Browse files
explorestadegeo
andauthored
Update deploy-with-cli.md (#22845)
* Update deploy-with-cli.md The "--self-contained false" switch is actually added to prevent creation of self contained deployment ( which, in addition to the application and its dependencies, also includes the dotnet runtime and libraries ). Self contained deployment is the default when -r switch is used with dotnet publish command. * Update docs/core/deploying/deploy-with-cli.md Co-authored-by: Andy De George <[email protected]> Co-authored-by: Andy De George <[email protected]>
1 parent bfe949a commit d74dd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/deploying/deploy-with-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ For .NET 2.1, you must use the following switches with the `dotnet publish` comm
134134
This switch uses an identifier (RID) to specify the target platform. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
135135

136136
- `--self-contained false`
137-
This switch tells the .NET Core SDK to create an executable as an FDE.
137+
This switch disables the default behavior of the `-r` switch, which is to create a self-contained deployment (SCD). This switch creates an FDE.
138138

139139
| Publish Mode | SDK Version | Command |
140140
|--------------------------------|-------------|-------------------------------------------------------------|

0 commit comments

Comments
 (0)