Skip to content

Commit 002ae1c

Browse files
committed
Merge remote-tracking branch 'MicrosoftDocs/master'
2 parents bc77ad0 + 910350c commit 002ae1c

File tree

152 files changed

+1423
-1011
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1423
-1011
lines changed

docs/cross-platform/cross-platform-mobile-development-in-visual-studio.md

Lines changed: 43 additions & 37 deletions
Large diffs are not rendered by default.

docs/debugger/how-to-debug-managed-and-native-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ In this tutorial, you will:
111111

112112
1. In *Program.cs*, replace the default code with the following code:
113113

114-
```c#
114+
```csharp
115115
using System;
116116
using System.Runtime.InteropServices;
117117

@@ -178,7 +178,7 @@ In most versions of Visual Studio 2017, you must enable mixed mode debugging for
178178

179179
1. In the C# project, open *Program.cs* and set a breakpoint in the following line of code by clicking in the left margin:
180180

181-
```c#
181+
```csharp
182182
int result = Multiply(7, 7);
183183
```
184184

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,45 @@
11
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
2+
title: Deploy to local folder
3+
description: Deploy an app to a local folder
4+
services: ""
5+
author: mikejo5000
6+
ms.service: ""
7+
ms.topic: include
8+
ms.date: 05/23/2018
9+
ms.author: mikejo
10+
ms.custom: include file
1611
---
12+
1713
1. In the **Solution Explorer**, right-click the project node and select **Publish** (for Web Forms, **Publish Web App**).
1814

19-
2. In the **Publish** dialog box, select **Folder**, click **Browse**, and create a new folder, **C:\Publish**.
15+
If you have previously configured any publishing profiles, the **Publish** pane appears. Click **New profile**.
16+
17+
1. In the **Publish** dialog box, select **Folder**, click **Browse**, and create a new folder, **C:\Publish**.
2018

2119
![RemoteDBG_Publish_Local](../media/remotedbg_publish_local.png "RemoteDBG_Publish_Local")
2220

2321
For a Web Forms app, choose **Custom** in the Publish dialog box, enter a profile name, and choose **OK**.
2422

25-
3. Click **Publish**.
26-
27-
Visual Studio publishes the project to the folder. Progress shows in the Output window.
23+
1. Click **Create profile** in the drop-down list (**Publish** is the default value).
2824

29-
4. In the **Publish** dialog box, click the **Settings** link, and then select the **Settings** tab.
25+
1. In the **Publish** dialog box, click the **Settings** link, and then select the **Settings** tab.
3026

31-
5. Set the configuration to **Debug**, select **Delete all existing files prior to publish**, and then click **Save**.
27+
1. Set the configuration to **Debug**, select **Delete all existing files prior to publish**, and then click **Save**.
3228

3329
> [!NOTE]
3430
> If you use a Release build, you disable debugging in the web.config file when you publish.
3531
36-
6. Click **Publish**.
32+
1. Click **Publish**.
3733

3834
![RemoteDBG_Publish_Debug_Config](../media/remotedbg_publish_debug_config.png "RemoteDBG_Publish_Debug_Config")
3935

40-
The application publishes a **Debug** configuration of the project to the local folder.
36+
The application publishes a **Debug** configuration of the project to the local folder. Progress shows in the Output window.
4137

42-
5. Copy the ASP.NET project directory from the Visual Studio computer to the local directory configured for the ASP.NET app (in this example, **C:\Publish**) on the Windows Server computer. In this tutorial, we assume you are copying manually, but you can use other tools like PowerShell, Xcopy, or Robocopy.
38+
1. Copy the ASP.NET project directory from the Visual Studio computer to the local directory configured for the ASP.NET app (in this example, **C:\Publish**) on the Windows Server computer. In this tutorial, we assume you are copying manually, but you can use other tools like PowerShell, Xcopy, or Robocopy.
4339

4440
> [!CAUTION]
4541
> If you need to make changes to the code or rebuild, you must republish and repeat this step. The executable you copied to the remote machine must exactly match your local source and symbols. If you do not do this you will receive a `cannot find or open the PDB file` warning in Visual Studio when you attempt to debug the process.
4642
47-
6. On the Windows Server, verify that you can run the app correctly by opening the app in your browser.
43+
1. On the Windows Server, verify that you can run the app correctly by opening the app in your browser.
4844

4945
If the app doesn't run correctly, there may be a mismatch between the version of ASP.NET installed on your server and your Visual Studio machine, or you may have an issue with your IIS or Web site configuration. Recheck earlier steps.
Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,46 @@
11
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
2+
title: Deploy using Web Deploy
3+
description: Deploy an app using Web Deploy in Visual Studio
4+
services: ""
5+
author: mikejo5000
6+
ms.service: ""
7+
ms.topic: include
8+
ms.date: 05/23/2018
9+
ms.author: mikejo
10+
ms.custom: include file
1611
---
12+
1713
If you installed Web Deploy using the Web Platform Installer, you can deploy the app directly from Visual Studio.
1814

1915
1. Start Visual Studio with Administrator privileges, and reopen the project.
2016

2117
Administrator privileges are required to deploy your app using Web Deploy.
2218

23-
2. In the **Solution Explorer**, right-click the project node and select **Publish**.
19+
1. In the **Solution Explorer**, right-click the project node and select **Publish**.
20+
21+
If you have previously configured any publishing profiles, the **Publish** pane appears. Click **New profile**.
2422

25-
3. For **Select a publish target**, select **IIS, FTP, etc.** and click **Publish**.
23+
1. For **Select a publish target**, select **IIS, FTP, etc.** and click **Publish**.
2624

2725
![RemoteDBG_Publish_IISl](../media/remotedbg_iis_profile.png "RemoteDBG_Publish_IIS")
2826

29-
4. Enter the correction configuration parameters for your IIS setup.
27+
1. Enter the correction configuration parameters for your IIS setup.
3028

3129
![RemoteDBG_Publish_WebDeployl](../media/remotedbg_iis_webdeploy_config.png "RemoteDBG_Publish_WebDeploy")
3230

3331
If a host name doesn't resolve when you try to validate in the next steps in the **Server** text box, try the IP address. Include `http://` as a prefix in the **Server** field. Make sure you use port 80 in the **Server** text box, and make sure that port 80 is open in the firewall.
3432

35-
6. Click **Next**, choose a **Debug** configuration, and choose **Remove additional files at destination** under the **File Publish** options.
33+
1. Click **Next**, choose a **Debug** configuration, and choose **Remove additional files at destination** under the **File Publish** options.
3634

3735
> [!NOTE]
3836
> If you choose a Release configuration, you disable debugging in the web.config file when you publish.
3937
40-
5. Click **Prev**, and then choose **Validate**. If the connection setup validates, you can try to publish.
38+
1. Click **Prev**, and then choose **Validate**. If the connection setup validates, you can try to publish.
4139

42-
6. Click **Publish** to publish the app.
40+
1. Click **Publish** to publish the app.
4341

4442
The Output tab shows you if publishing is successful, and your browser then opens the app.
4543

4644
If you get an error mentioning Web Deploy, recheck the Web Deploy installation steps and make sure the correct ports are open (Web Deploy also requires port 8172 to be open on the server).
4745

48-
If the app deploys successfully but doesn't run correctly, there may be an issue with your IIS configuration, your ASP.NET installation, or your Web site configuration. On the Windows Server, open the Web site from IIS for more specific error messages, and then recheck earlier steps.
46+
If the app deploys successfully but doesn't run correctly, there may be an issue with your IIS configuration, your ASP.NET installation, or your Web site configuration. On the Windows Server, open the Web site from IIS for more specific error messages, and then recheck earlier steps.

docs/debugger/includes/remote-debugger-download.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
2+
title: Remote debugger download
3+
description: Download links for the remote debugger
4+
services: ""
5+
author: mikejo5000
6+
ms.service: ""
7+
ms.topic: include
8+
ms.date: 05/23/2018
9+
ms.author: mikejo
10+
ms.custom: include file
1611
---
12+
1713
1. On the device or server machine that you want to debug (rather than the machine running Visual Studio), get the correct version of the remote tools.
1814

1915
|Version|Link|Notes|
2016
|-|-|-|
21-
|Visual Studio 2017 (latest version)|[Remote tools](https://www.visualstudio.com/downloads/?q=remote+tools#remote-tools-for-visual-studio-2017)|Always download the version matching your device operating system (x86 or x64). If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
22-
|Visual Studio 2017 (older)|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202017)|Remote tools for earlier releases of Visual Studio 2017 are available from My.VisualStudio.com. If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
23-
|Visual Studio 2015 Update 3|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202015)|If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
24-
|Visual Studio 2015 (older)|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202015)|If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
17+
|Visual Studio 2017 (latest version)|[Remote tools](https://www.visualstudio.com/downloads/?q=remote+tools#remote-tools-for-visual-studio-2017)|Always download the version matching your device operating system (x86 or x64). On Windows Server, see [Unblock the file download](../../debugger/remote-debugging.md#unblock_msvsmon) for help to download the remote tools.|
18+
|Visual Studio 2017 (older)|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202017)|Remote tools for earlier releases of Visual Studio 2017 are available from My.VisualStudio.com. If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. On Windows Server, see [Unblock the file download](../../debugger/remote-debugging.md#unblock_msvsmon) for help to download the remote tools.|
19+
|Visual Studio 2015 (older)|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202015)|If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. On Windows Server, see [Unblock the file download](../../debugger/remote-debugging.md#unblock_msvsmon) for help to download the remote tools.|
2520
|Visual Studio 2013|[Remote tools](https://msdn.microsoft.com/library/bt727f1t(v=vs.120).aspx#BKMK_Installing_the_Remote_Tools)|Download page in Visual Studio 2013 documentation|
2621
|Visual Studio 2012|[Remote tools](https://msdn.microsoft.com/library/bt727f1t(v=vs.110).aspx#BKMK_Installing_the_Remote_Tools)|Download page in Visual Studio 2012 documentation|
2722

docs/debugger/includes/remote-debugger-install-iis-role.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ For Windows Server operating systems, use the **Add Roles and Features** wizard
2020

2121
![The Web Server IIS role is selected in the Select server roles step.](../media/remotedbg-server-roles-ws2012.png)
2222

23-
On the **Role services** step, select the IIS role services you desire or accept the default role services provided.
23+
On the **Role services** step, select the IIS role services you desire or accept the default role services provided. If you plan to deploy using Web Deploy, make sure that **IIS Management Scripts and Tools** is selected.
2424

2525
Proceed through the confirmation steps to install the web server role and services. A server/IIS restart is not required after installing the Web Server (IIS) role.
Loading
Loading
Loading
Loading
-16.2 KB
Loading
-9.98 KB
Loading

docs/debugger/quickstart-debug-aspnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The Visual Studio debugger provides many powerful features to help you debug you
3636

3737
1. In Solution Explorer, open About.cshtml.cs (under Pages/About.cshtml) and replace the following code
3838

39-
```c#
39+
```csharp
4040
public void OnGet()
4141
{
4242
Message = "Your application description page.";
@@ -45,7 +45,7 @@ The Visual Studio debugger provides many powerful features to help you debug you
4545

4646
with this code:
4747

48-
```c#
48+
```csharp
4949
public void OnGet()
5050
{
5151
LinkedList<int> result = doWork();

docs/debugger/quickstart-debug-with-managed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The Visual Studio debugger provides many powerful features to help you debug you
3232

3333
4. In Program.cs or Module1.vb, replace the following code
3434

35-
```c#
35+
```csharp
3636
class Program
3737
{
3838
static void Main(string[] args)
@@ -50,7 +50,7 @@ The Visual Studio debugger provides many powerful features to help you debug you
5050

5151
with this code:
5252

53-
```c#
53+
```csharp
5454
class Program
5555
{
5656
private static void doWork()

0 commit comments

Comments
 (0)