You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/tools/dotnet-publish.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ dotnet publish -h|--help
38
38
- A *.runtimeconfig.json* file that specifies the shared runtime that the application expects, as well as other configuration options for the runtime (for example, garbage collection type).
39
39
- The application's dependencies, which are copied from the NuGet cache into the output folder.
40
40
41
-
The `dotnet publish` command's output is ready for deployment to a hosting system (for example, a server, PC, Mac, laptop) for execution. It's the only officially supported way to prepare the application for deployment. Depending on the type of deployment that the project specifies, the hosting system may or may not have the .NET shared runtime installed on it. For more information, see [Publish .NET apps with the .NET CLI](../deploying/publish-with-cli.md).
41
+
The `dotnet publish` command's output is ready for deployment to a hosting system (for example, a server, PC, Mac, laptop) for execution. It's the only officially supported way to prepare the application for deployment. Depending on the type of deployment that the project specifies, the hosting system may or may not have the .NET shared runtime installed on it. For more information, see [.NET application publishing overview](../deploying/index.md).
42
42
43
43
### Implicit restore
44
44
@@ -196,7 +196,7 @@ For more information, see the following resources:
196
196
197
197
-**`--sc|--self-contained [true|false]`**
198
198
199
-
Publishes the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. Default is `true` if a runtime identifier is specified and the project is an executable project (not a library project). For more information, see [.NET application publishing](../deploying/index.md) and [Publish .NET apps with the .NET CLI](../deploying/publish-with-cli.md).
199
+
Publishes the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. Default is `true` if a runtime identifier is specified and the project is an executable project (not a library project). For more information, see [Self-contained deployment](../deploying/index.md#self-contained-deployment).
200
200
201
201
If this option is used without specifying `true` or `false`, the default is `true`. In that case, don't put the solution or project argument immediately after `--self-contained`, because `true` or `false` is expected in that position.
202
202
@@ -210,7 +210,7 @@ For more information, see the following resources:
210
210
211
211
-**`-r|--runtime <RUNTIME_IDENTIFIER>`**
212
212
213
-
Publishes the application for a given runtime. For a list of Runtime Identifiers (RIDs), see the [RID catalog](../rid-catalog.md). For more information, see [.NET application publishing](../deploying/index.md) and [Publish .NET apps with the .NET CLI](../deploying/publish-with-cli.md). If you use this option, use `--self-contained` or `--no-self-contained` also.
213
+
Publishes the application for a given runtime. For a list of Runtime Identifiers (RIDs), see the [RID catalog](../rid-catalog.md). For more information, see [.NET application publishing overview](../deploying/index.md). If you use this option, use `--self-contained` or `--no-self-contained` also.
214
214
215
215
[!INCLUDE [tl](../../../includes/cli-tl.md)]
216
216
@@ -271,7 +271,6 @@ For more information, see the following resources:
Copy file name to clipboardExpand all lines: docs/core/tutorials/publishing-with-visual-studio-code.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,11 +62,11 @@ In the following steps, you'll look at the files created by the publish process.
62
62
63
63
-*HelloWorld.dll*
64
64
65
-
This is the [framework-dependent deployment](../deploying/publish-with-cli.md#framework-dependent-deployment) version of the application. To run this dynamic link library, enter `dotnet HelloWorld.dll` at a command prompt. This method of running the app works on any platform that has the .NET runtime installed.
65
+
This is the [framework-dependent deployment](../deploying/index.md#cross-platform-dll-deployment) version of the application. To run this dynamic link library, enter `dotnet HelloWorld.dll` at a command prompt. This method of running the app works on any platform that has the .NET runtime installed.
66
66
67
67
-*HelloWorld.exe* (*HelloWorld* on Linux or macOS.)
68
68
69
-
This is the [framework-dependent executable](../deploying/publish-with-cli.md#framework-dependent-executable) version of the application. The file is operating-system-specific.
69
+
This is the [framework-dependent executable](../deploying/index.md#framework-dependent-deployment) version of the application. The file is operating-system-specific.
70
70
71
71
-*HelloWorld.pdb* (optional for deployment)
72
72
@@ -98,8 +98,7 @@ In the following steps, you'll look at the files created by the publish process.
Copy file name to clipboardExpand all lines: docs/core/whats-new/dotnet-9/runtime.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ CET imposes some limitations on CET-enabled processes and can result in a small
74
74
75
75
## .NET install search behavior
76
76
77
-
.NET apps can now be configured for how they should [search for the .NET runtime](../../deploying/publish-with-cli.md#configure-net-install-search-behavior). This capability can be used with private runtime installations or to more strongly control the execution environment.
77
+
.NET apps can now be configured for how they should [search for the .NET runtime](../../deploying/index.md#configure-net-install-search-behavior). This capability can be used with private runtime installations or to more strongly control the execution environment.
0 commit comments