Add --self-contained option to SCD publish command (#14772)
parent
29370f9858
commit
f4af591333
|
@ -5,7 +5,7 @@ description: This article contains links to Azure host and deploy resources.
|
|||
monikerRange: '>= aspnetcore-2.1'
|
||||
ms.author: riande
|
||||
ms.custom: mvc
|
||||
ms.date: 07/28/2019
|
||||
ms.date: 10/02/2019
|
||||
uid: host-and-deploy/azure-apps/index
|
||||
---
|
||||
# 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
|
|||
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.
|
||||
|
||||
```console
|
||||
dotnet publish --configuration Release --runtime win-x86
|
||||
dotnet publish --configuration Release --runtime win-x86 --self-contained
|
||||
```
|
||||
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue