Skip to content

Commit 34a0ecf

Browse files
Merge pull request #10294 from MicrosoftDocs/main638550471512144443sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents e92e318 + e499fca commit 34a0ecf

17 files changed

+28
-26
lines changed

docs/azure/how-to-get-publish-profile-from-azure-app-service.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ghogen
55
manager: mijacobs
66
ms.subservice: azure-development
77
ms.topic: how-to
8-
ms.date: 05/16/2024
8+
ms.date: 06/18/2024
99
ms.author: ghogen
1010
monikerRange: ">=vs-2019"
1111
---
@@ -15,7 +15,8 @@ monikerRange: ">=vs-2019"
1515
A publish profile is a file that contains information and settings that Visual Studio uses to deploy applications and services to Azure.
1616

1717
1. In the Azure portal, open the Azure App Service.
18-
2. Go to **Download publish profile** and save the profile locally.
18+
1. Make sure that **Basic authentication** is enabled. Go to **Configuration**, **General settings**, **SCM Basic Auth Publishing Credentials**, and choose **On**.
19+
1. Go to **Download publish profile** and save the profile locally.
1920

2021
:::image type="content" source="./media/app-service-get-publish-profile.png" alt-text="Screenshot showing how to get the publish profile from Azure App Service." lightbox="./media/app-service-get-publish-profile.png":::
2122

@@ -25,3 +26,4 @@ See also [Azure App Service](/azure/app-service).
2526

2627
> [!NOTE]
2728
> When [basic authentication is disabled](/azure/app-service/configure-basic-auth-disable), **Download publish profile** and **Reset publish profile** are disabled.
29+

docs/azure/how-to-sign-in-with-azure-subscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Sign in to Visual Studio for Windows with an Azure subscription and
44
author: ghogen
55
ms.subservice: azure-development
66
ms.author: ghogen
7-
ms.topic: "how-to"
7+
ms.topic: how-to
88
ms.date: 10/19/2021
99
---
1010

docs/azure/includes/cloud-services-legacy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include
44
author: ghogen
55
ms.subservice: azure-development
66
ms.author: ghogen
7-
ms.topic: "include"
7+
ms.topic: include
88
ms.date: 10/25/2021
99
---
1010
> [!NOTE]

docs/azure/includes/prerequisites-azure-subscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include
44
author: ghogen
55
ms.subservice: azure-development
66
ms.author: ghogen
7-
ms.topic: "include"
7+
ms.topic: include
88
ms.date: 12/20/2023
99
---
1010
An Azure account. If you don't have an Azure account, activate your [Azure benefits for Visual Studio subscribers](/visualstudio/subscriptions/vs-azure-eligibility) or [sign up for a free trial](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).

docs/azure/includes/subscription-azure-benefits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include
44
author: ghogen
55
ms.subservice: azure-development
66
ms.author: ghogen
7-
ms.topic: "include"
7+
ms.topic: include
88
ms.date: 12/20/2023
99
---
1010
Many Visual Studio subscriptions include [Azure individual Dev/Test credits](/visualstudio/subscriptions/vs-azure-eligibility). If you're a Visual Studio subscriber, you can use these credits to try various Azure services at no cost. If you're not a subscriber and don't have an Azure subscription, you can [create a free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).

docs/azure/includes/vs-2019/create-aspnet5-app-2019.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include
44
author: ghogen
55
ms.subservice: azure-development
66
ms.author: ghogen
7-
ms.topic: "include"
7+
ms.topic: include
88
ms.date: 03/08/2021
99
---
1010

docs/azure/includes/vs-2022/create-aspnet5-app-2022.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: include
44
author: ghogen
55
ms.subservice: azure-development
66
ms.author: ghogen
7-
ms.topic: "include"
7+
ms.topic: include
88
ms.date: 10/25/2021
99
---
1010

docs/azure/overview-aspnet-azure-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.subservice: azure-development
1010
ms.topic: overview
1111
ms.date: 04/15/2024
1212
ms.author: ghogen
13-
monikerRange: ">=vs-2019"
13+
monikerRange: >=vs-2019
1414
---
1515

1616
# Overview: Develop ASP.NET web apps for Azure with Visual Studio

docs/azure/overview-azure-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.subservice: azure-development
77
ms.topic: how-to
88
ms.date: 10/19/2023
99
ms.author: ghogen
10-
monikerRange: ">=vs-2019"
10+
monikerRange: >=vs-2019
1111
---
1212

1313
# Find and provision Azure resources in Visual Studio

docs/azure/overview-connected-services.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Developers are building apps with an increasing number of services, yet the serv
1717
With Visual Studio's **Connected Services**, you get a modern service consumption experience that enables each service the ability to tailor their consumption experience, prompting you for the relevant questions you need to get started quickly.
1818

1919
Connected Services includes a collection of tools in Visual Studio that help you connect your application to the following:
20-
- [Azure services](#azure)
20+
- [Azure services](#connect-your-app-to-azure-services)
2121
- OpenAPI endpoints
2222
- gRPC (Remote Procedure Call) endpoints
2323
- Windows Communication Foundation (WCF) endpoints
@@ -35,8 +35,6 @@ Supported project types vary by the type of service. You'll see the options that
3535

3636
[!INCLUDE [subscription-azure-benefits](includes/subscription-azure-benefits.md)]
3737

38-
<a name="azure"/>
39-
4038
## Connect your app to Azure services
4139

4240
Use Connected Services to connect your application to live Azure services emulators and other local alternatives to Azure services. Visual Studio currently supports the following:
Loading

docs/deployment/tutorial-import-publish-settings-azure.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Publish to Azure by importing publish settings"
33
description: Create and import publish settings to deploy ASP.NET and ASP.NET Core web applications from Visual Studio to Azure App Service.
4-
ms.date: 10/22/2021
4+
ms.date: 06/18/2024
55
ms.topic: tutorial
66
helpviewer_keywords:
77
- "deployment, publish settings"
@@ -15,11 +15,11 @@ ms.subservice: deployment
1515
You can use the **Publish** tool to import publish settings and then deploy your app. In this article, we use publish settings for Azure App Service. These steps apply to ASP.NET and ASP.NET Core web apps.
1616

1717
> [!NOTE]
18-
> A publish settings file (*\*.publishsettings*) is different than a publishing profile (*\*.pubxml*) created in Visual Studio. A publish settings file is created by Azure App Service, and then it can be imported into Visual Studio.
18+
> A publish settings file (`*.publishsettings`) is different than a publishing profile (`*.pubxml`) created in Visual Studio. A publish settings file is created by Azure App Service, and then it can be imported into Visual Studio.
1919
2020
## Prerequisites
2121

22-
* You must have Visual Studio 2019 installed and the **ASP.NET and web development** workload.
22+
* You must have Visual Studio installed and the **ASP.NET and web development** workload.
2323

2424
If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) page to install it for free.
2525

@@ -35,7 +35,7 @@ You can use the **Publish** tool to import publish settings and then deploy your
3535

3636
The project template you choose (ASP.NET or ASP.NET Core) must correspond to the version of ASP.NET installed on the web server.
3737

38-
1. Choose either **MVC** (.NET Framework) or **Web Application (Model-View-Controller)** (for .NET Core), and make sure that **No Authentication** is selected, and then select **OK**.
38+
1. Choose either **MVC** (.NET Framework) or **Web Application (Model-View-Controller)** (for .NET Core or .NET 5 and later), and make sure that **No Authentication** is selected, and then select **OK**.
3939

4040
1. Type a name like **MyWebApp** and select **OK**.
4141

@@ -47,11 +47,13 @@ You can use the **Publish** tool to import publish settings and then deploy your
4747

4848
1. In the Azure portal, open the Azure App Service.
4949

50-
1. Go to **Get publish profile** and save the profile locally.
50+
1. Go to **Download publish profile** and save the profile locally.
5151

52-
![Get the publish profile](../deployment/media/tutorial-azure-app-service-get-publish-profile.png)
52+
![Screenshot showing how to download the publish profile in Azure App Service.](../deployment/media/tutorial-azure-app-service-download-publish-profile.png)
5353

54-
A file with a *.publishsettings* file extension has been generated in the location where you saved it. The following code shows a partial example of the file (in a more readable formatting).
54+
In order to deploy with Web Deploy, you need to enable **Basic authentication**, which is what Web Deploy uses. In Azure App Service, go to **Configuration**, **General settings**, **SCM Basic Auth Publishing Credentials**, and enable Web Deploy. You can't download a publish profile if this setting is not enabled.
55+
56+
A file with a `.publishsettings` file extension has been generated in the location where you saved it. The following code shows a partial example of the file (in a more readable formatting).
5557

5658
```xml
5759
<publishData>
@@ -73,7 +75,7 @@ You can use the **Publish** tool to import publish settings and then deploy your
7375
</publishData>
7476
```
7577

76-
Typically, the preceding *.publishsettings file contains two publishing profiles that you can use in Visual Studio, one to deploy using Web Deploy, and one to deploy using FTP. The preceding code shows the Web Deploy profile. Both profiles will be imported later when you import the profile.
78+
Typically, the preceding `.publishsettings` file contains two publishing profiles that you can use in Visual Studio, one to deploy using Web Deploy, and one to deploy using FTP. The preceding code shows the Web Deploy profile. Both profiles will be imported later when you import the profile.
7779

7880
## Import the publish settings in Visual Studio and deploy
7981

docs/ide/how-to-manually-create-web-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Creating a web template is different than creating other kinds of templates. Bec
5050

5151
7. Select the files in your template (this includes the *vstemplate* file), right-click the selection, and choose **Send to** > **Compressed (zipped) folder**. The files are compressed into a *.zip* file.
5252

53-
8. Put the *.zip* template file in the Visual Studio project template directory. By default, this directory is *%USERPROFILE%\Documents\Visual Studio \<Version\>\ProjectTemplates*.
53+
8. Put the *.zip* template file in the Visual Studio project template directory. By default, this directory is `%USERPROFILE%\Documents\Visual Studio {Version}\Templates\ProjectTemplates`.
5454

5555
## Example
5656

docs/msbuild/msbuild-conditional-constructs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: MSBuild Conditional Constructs
33
description: Learn how MSBuild provides a mechanism for conditional processing with the Choose, When, and Otherwise elements.
4-
ms.date: 11/04/2016
4+
ms.date: 06/26/2024
55
ms.topic: reference
66
dev_langs:
77
- VB
@@ -27,7 +27,7 @@ MSBuild provides a mechanism for either/or processing with the [Choose](../msbui
2727

2828
## Use the Choose element
2929

30-
The `Choose` element contains a series of `When` elements with `Condition` attributes that are tested in order from top to bottom until one evaluates to `true`. If more than one `When` element evaluates to `true`, only the first one is used. An `Otherwise` element, if present, will be evaluated if no condition on a `When` element evaluates to `true`.
30+
The `Choose` element contains a series of `When` elements with `Condition` attributes that are tested in order from top to bottom until one evaluates to `true`. If more than one `When` element evaluates to `true`, only the first one is used. An `Otherwise` element, if present, is evaluated if no condition on a `When` element evaluates to `true`.
3131

3232
`Choose` elements can be used as child elements of `Project`, `When` and `Otherwise` elements. `When` and `Otherwise` elements can have `ItemGroup`, `PropertyGroup`, or `Choose` child elements.
3333

@@ -71,7 +71,7 @@ MSBuild provides a mechanism for either/or processing with the [Choose](../msbui
7171
</Project>
7272
```
7373

74-
In this example, a condition on a compiler constant `DEFINED_CONSTANT` is used. These are included in the `DefinedConstants` property. The regular expression is used to match the exact constant in a semicolon-separated list.
74+
In this example, a condition on a compiler constant `DEFINED_CONSTANT` is used. These definitions are included in the `DefineConstants` property. The regular expression is used to match the exact constant in a semicolon-separated list.
7575

7676
```xml
7777
<Choose>
Loading
Loading

gamedev/unity/get-started/visual-studio-tools-for-unity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Visit the Visual Studio Tools for Unity [getting started with Tools For Unity.](
3434

3535
### Supported Unity versions
3636
#### Visual Studio Editor Unity package
37-
Unity 2020.1 and newer require a Unity Package for external editor tools like Visual Studio and Visual Studio for Mac. [Documentation to Learn more about these changes in the Unity blog post.](https://unity.com/releases/2020-1/programmer-tools#verified-ide-packages-now-include-visual-studio).
37+
Unity 2020.1 and newer require a Unity Package for external editor tools like Visual Studio and Visual Studio for Mac. [Documentation to Learn more about these changes in the Unity blog post.](https://unity.com/developer-tools#verified-ide-packages-now-include-visual-studio).
3838

3939
The [getting started section](getting-started-with-visual-studio-tools-for-unity.md) includes more information on the configuration of the Visual Studio Editor package.
4040

0 commit comments

Comments
 (0)