@@ -85,11 +85,11 @@ dotnet publish -c Release -r <RID>
8585::: zone pivot="visualstudio"
8686
878701 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
88- 01 . If this is your first time publishing, select ** Folder** as the publish target and click ** Next** .
89- 01 . Choose a folder location or accept the default, then click ** Finish** .
90- 01 . In the publish profile, click ** Show all settings** .
88+ 01 . If this is your first time publishing, select ** Folder** as the publish target and select ** Next** .
89+ 01 . Choose a folder location or accept the default, then select ** Finish** .
90+ 01 . In the publish profile, select ** Show all settings** .
919101 . Set ** Target Runtime** to your desired platform (for example, ** win-x64** for 64-bit Windows).
92- 01 . Click ** Save** and then ** Publish** .
92+ 01 . Select ** Save** and then ** Publish** .
9393
9494::: zone-end
9595
@@ -159,12 +159,12 @@ dotnet publish -c Release [-r <RID>] --self-contained false
159159::: zone pivot="visualstudio"
160160
16116101 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
162- 01 . If this is your first time publishing, select ** Folder** as the publish target and click ** Next** .
163- 01 . Choose a folder location or accept the default, then click ** Finish** .
164- 01 . In the publish profile, click ** Show all settings** .
162+ 01 . If this is your first time publishing, select ** Folder** as the publish target and select ** Next** .
163+ 01 . Choose a folder location or accept the default, then select ** Finish** .
164+ 01 . In the publish profile, select ** Show all settings** .
16516501 . Set ** Deployment Mode** to ** Framework-dependent** (this is the default).
16616601 . Set ** Target Runtime** to your desired platform (for example, ** win-x64** for 64-bit Windows).
167- 01 . Click ** Save** and then ** Publish** .
167+ 01 . Select ** Save** and then ** Publish** .
168168
169169::: zone-end
170170
@@ -206,13 +206,13 @@ dotnet publish -c Release -p:UseAppHost=false
206206::: zone pivot="visualstudio"
207207
20820801 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
209- 01 . If this is your first time publishing, select ** Folder** as the publish target and click ** Next** .
210- 01 . Choose a folder location or accept the default, then click ** Finish** .
211- 01 . In the publish profile, click ** Show all settings** .
209+ 01 . If this is your first time publishing, select ** Folder** as the publish target and select ** Next** .
210+ 01 . Choose a folder location or accept the default, then select ** Finish** .
211+ 01 . In the publish profile, select ** Show all settings** .
21221201 . Set ** Deployment Mode** to ** Framework-dependent** .
21321301 . Uncheck ** Produce single file** .
21421401 . Set ** Target Runtime** to ** Portable** (or leave blank).
215- 01 . Click ** Save** and then ** Publish** .
215+ 01 . Select ** Save** and then ** Publish** .
216216
217217::: zone-end
218218
@@ -256,12 +256,12 @@ dotnet publish -c Release -r <RID> --self-contained true
256256::: zone pivot="visualstudio"
257257
25825801 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
259- 01 . If this is your first time publishing, select ** Folder** as the publish target and click ** Next** .
260- 01 . Choose a folder location or accept the default, then click ** Finish** .
261- 01 . In the publish profile, click ** Show all settings** .
259+ 01 . If this is your first time publishing, select ** Folder** as the publish target and select ** Next** .
260+ 01 . Choose a folder location or accept the default, then select ** Finish** .
261+ 01 . In the publish profile, select ** Show all settings** .
26226201 . Set ** Deployment Mode** to ** Self-contained** .
26326301 . Set ** Target Runtime** to your desired platform (for example, ** win-x64** for 64-bit Windows).
264- 01 . Click ** Save** and then ** Publish** .
264+ 01 . Select ** Save** and then ** Publish** .
265265
266266::: zone-end
267267
@@ -308,13 +308,13 @@ dotnet publish -c Release -r <RID> -p:PublishSingleFile=true
308308::: zone pivot="visualstudio"
309309
31031001 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
311- 01 . If this is your first time publishing, select ** Folder** as the publish target and click ** Next** .
312- 01 . Choose a folder location or accept the default, then click ** Finish** .
313- 01 . In the publish profile, click ** Show all settings** .
311+ 01 . If this is your first time publishing, select ** Folder** as the publish target and select ** Next** .
312+ 01 . Choose a folder location or accept the default, then select ** Finish** .
313+ 01 . In the publish profile, select ** Show all settings** .
31431401 . Set ** Deployment Mode** to ** Self-contained** or ** Framework-dependent** .
31531501 . Set ** Target Runtime** to your desired platform (for example, ** win-x64** for 64-bit Windows).
31631601 . Check ** Produce single file** .
317- 01 . Click ** Save** and then ** Publish** .
317+ 01 . Select ** Save** and then ** Publish** .
318318
319319::: zone-end
320320
@@ -332,7 +332,7 @@ Native AOT deployment compiles your app directly to native code, eliminating the
332332** Disadvantages**
333333
334334- ** Limited framework support** : Not all .NET features and libraries are compatible with Native AOT.
335- - ** Longer build times** : Compilation to native code takes significantly longer than regular builds.
335+ - ** Longer build times** : Compilation to native code takes longer than regular builds.
336336- ** Platform-specific** : Must compile separately for each target platform and architecture.
337337- ** Debugging limitations** : More complex debugging experience compared to regular .NET applications.
338338
@@ -358,7 +358,7 @@ dotnet publish -c Release -r <RID> -p:PublishAot=true
358358
359359::: zone pivot="visualstudio"
360360
361- Native AOT publishing must be configured in the project file. You cannot enable it through the Visual Studio publishing UI.
361+ Native AOT publishing must be configured in the project file. You can't enable it through the Visual Studio publishing UI.
362362
36336301 . In ** Solution Explorer** , right-click on your project and select ** Edit Project File** .
36436401 . Add the following property to a ` <PropertyGroup> ` :
@@ -369,12 +369,12 @@ Native AOT publishing must be configured in the project file. You cannot enable
369369
37037001. Save the project file.
37137101. Right-click on the project in **Solution Explorer** and select **Publish**.
372- 01. If this is your first time publishing, select **Folder** as the publish target and click **Next**.
373- 01. Choose a folder location or accept the default, then click **Finish**.
374- 01. In the publish profile, click **Show all settings**.
372+ 01. If this is your first time publishing, select **Folder** as the publish target and select **Next**.
373+ 01. Choose a folder location or accept the default, then select **Finish**.
374+ 01. In the publish profile, select **Show all settings**.
37537501. Set **Deployment Mode** to **Self-contained**.
37637601. Set **Target Runtime** to your desired platform (for example, **win-x64** for 64-bit Windows).
377- 01. Click **Save** and then **Publish**.
377+ 01. Select **Save** and then **Publish**.
378378
379379For more information about Native AOT deployment, see [Native AOT deployment](native-aot/index.md).
380380
@@ -420,13 +420,13 @@ dotnet publish -c Release -r <RID> -p:PublishReadyToRun=true
420420::: zone pivot="visualstudio"
421421
42242201 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
423- 01 . If this is your first time publishing, select ** Folder** as the publish target and click ** Next** .
424- 01 . Choose a folder location or accept the default, then click ** Finish** .
425- 01 . In the publish profile, click ** Show all settings** .
423+ 01 . If this is your first time publishing, select ** Folder** as the publish target and select ** Next** .
424+ 01 . Choose a folder location or accept the default, then select ** Finish** .
425+ 01 . In the publish profile, select ** Show all settings** .
42642601 . Set ** Deployment Mode** to ** Self-contained** or ** Framework-dependent** .
42742701 . Set ** Target Runtime** to your desired platform (for example, ** win-x64** for 64-bit Windows).
42842801 . Check ** Enable ReadyToRun compilation** .
429- 01 . Click ** Save** and then ** Publish** .
429+ 01 . Select ** Save** and then ** Publish** .
430430
431431::: zone-end
432432
@@ -436,7 +436,7 @@ For more information about ReadyToRun deployment, see [ReadyToRun compilation](r
436436
437437When you publish your app as a container, the .NET SDK packages your application and its dependencies into a container image without requiring a separate Dockerfile. This deployment mode creates a complete container image that can be run on any container runtime, such as Docker or Podman. Container deployment simplifies the containerization process by eliminating the need to write and maintain Dockerfiles while providing optimized base images.
438438
439- Starting with .NET SDK 8.0.200, container support is included by default and doesn't require additional NuGet packages. For console applications, you might need to enable container support explicitly by setting the ` EnableSdkContainerSupport ` property to ` true ` .
439+ Starting with .NET SDK 8.0.200, container support is included by default and doesn't require extra NuGet packages. For console applications, you might need to enable container support explicitly by setting the ` EnableSdkContainerSupport ` property to ` true ` .
440440
441441> [ !TIP]
442442> For more information about project settings related to containers, see [ Containerize a .NET app reference] ( ../containers/publish-configuration.md ) .
@@ -487,14 +487,14 @@ dotnet publish -c Release [-r <RID>] -p:PublishProfile=DefaultContainer
487487::: zone pivot="visualstudio"
488488
48948901 . Right-click on the project in ** Solution Explorer** and select ** Publish** .
490- 01 . Select ** Container Registry** as the publish target and click ** Next** .
491- 01 . Choose your target container registry (such as ** Azure Container Registry** , ** Docker Hub** , or ** Generic Registry** ) and click ** Next** .
490+ 01 . Select ** Container Registry** as the publish target and select ** Next** .
491+ 01 . Choose your target container registry (such as ** Azure Container Registry** , ** Docker Hub** , or ** Generic Registry** ) and select ** Next** .
49249201 . Configure the registry connection details and authentication.
493- 01 . In the publish profile, click ** Show all settings** .
493+ 01 . In the publish profile, select ** Show all settings** .
49449401 . Set ** Deployment Mode** to ** Self-contained** or ** Framework-dependent** based on your needs.
49549501 . Set ** Target Runtime** to your desired platform (for example, ** linux-x64** for Linux containers).
49649601 . Configure container-specific settings like image name and tags.
497- 01 . Click ** Save** and then ** Publish** .
497+ 01 . Select ** Save** and then ** Publish** .
498498
499499::: zone-end
500500
0 commit comments