Skip to content

Commit c7e26f6

Browse files
svickBillWagner
authored andcommitted
Corrected default output directory for dotnet publish (#5500)
1 parent 6bef444 commit c7e26f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/core/tools/dotnet-publish.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Doesn't perform an implicit restore when running the command.
8484

8585
`-o|--output <OUTPUT_DIRECTORY>`
8686

87-
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]* for a self-contained deployment.
87+
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/publish/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]/publish/* for a self-contained deployment.
8888
If a relative path is provided, the output directory generated is relative to the project file location, not to the current working directory.
8989

9090
`--self-contained`
@@ -123,7 +123,7 @@ Specifies one or several [target manifests](../deploying/runtime-store.md) to us
123123

124124
`-o|--output <OUTPUT_DIRECTORY>`
125125

126-
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]* for a self-contained deployment.
126+
Specifies the path for the output directory. If not specified, it defaults to *./bin/[configuration]/[framework]/publish/* for a framework-dependent deployment or *./bin/[configuration]/[framework]/[runtime]/publish/* for a self-contained deployment.
127127
If a relative path is provided, the output directory generated is relative to the project file location, not to the current working directory.
128128

129129
`-r|--runtime <RUNTIME_IDENTIFIER>`
@@ -165,4 +165,4 @@ Publish the current application but don't restore project-to-project (P2P) refer
165165
## See also
166166

167167
* [Target frameworks](../../standard/frameworks.md)
168-
* [Runtime IDentifier (RID) catalog](../rid-catalog.md)
168+
* [Runtime IDentifier (RID) catalog](../rid-catalog.md)

0 commit comments

Comments
 (0)