Skip to content

Commit f4af591

Browse files
authored
Add --self-contained option to SCD publish command (dotnet#14772)
1 parent 29370f9 commit f4af591

File tree

1 file changed

+2
-2
lines changed
  • aspnetcore/host-and-deploy/azure-apps

1 file changed

+2
-2
lines changed

aspnetcore/host-and-deploy/azure-apps/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: This article contains links to Azure host and deploy resources.
55
monikerRange: '>= aspnetcore-2.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 07/28/2019
8+
ms.date: 10/02/2019
99
uid: host-and-deploy/azure-apps/index
1010
---
1111
# Deploy ASP.NET Core apps to Azure App Service
@@ -286,7 +286,7 @@ Use Visual Studio or the command-line interface (CLI) tools for a [self-containe
286286
1. From a command shell, publish the app in Release configuration for the host's runtime with the [dotnet publish](/dotnet/core/tools/dotnet-publish) command. In the following example, the app is published for the `win-x86` RID. The RID supplied to the `--runtime` option must be provided in the `<RuntimeIdentifier>` (or `<RuntimeIdentifiers>`) property in the project file.
287287

288288
```console
289-
dotnet publish --configuration Release --runtime win-x86
289+
dotnet publish --configuration Release --runtime win-x86 --self-contained
290290
```
291291

292292
1. Move the contents of the *bin/Release/{TARGET FRAMEWORK}/{RUNTIME IDENTIFIER}/publish* directory to the site in App Service. If dragging the *publish* folder contents from your local hard drive or network share directly to App Service in the Kudu console, drag the files to the `D:\home\site\wwwroot` folder in the Kudu console.

0 commit comments

Comments
 (0)