Skip to content

Commit 21a72e6

Browse files
authored
Merge pull request #10553 from MicrosoftDocs/cxwtool-22583
Merge main into release-17.4
2 parents b753e19 + 8529893 commit 21a72e6

File tree

74 files changed

+186
-161
lines changed

Some content is hidden

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

74 files changed

+186
-161
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3020,6 +3020,11 @@
30203020
"redirect_url": "/visualstudio/data-tools/save-data-back-to-the-database",
30213021
"redirect_document_id": false
30223022
},
3023+
{
3024+
"source_path": "docs/debugger/remote-debugging-aks-on-linux-with-ssh.md",
3025+
"redirect_url": "/visualstudio/debugger/remote-debugging-dotnet-core-linux-with-ssh",
3026+
"redirect_document_id": false
3027+
},
30233028
{
30243029
"source_path": "docs/debugger/using-run-time-checks-without-the-c-run-time-library.md",
30253030
"redirect_url": "/visualstudio/debugger/how-to-use-native-run-time-checks",

docs/azure/vs-azure-tools-storage-resources-server-explorer-browse-manage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ The following image shows a queue that contains two messages:
151151

152152
![Viewing a queue](./media/vs-azure-tools-storage-resources-server-explorer-browse-manage/IC651470.png)
153153

154-
For more information about storage services queues, see [Get started with Azure Queue storage using .NET](/azure/storage/queues/storage-dotnet-how-to-use-queues). For information about the web service for storage services queues, see [Queue Service Concepts](/rest/api/storageservices/Queue-Service-Concepts). For information about how to send messages to a storage services queue by using Visual Studio, see [Sending Messages to a Storage Services Queue](/azure/visual-studio/vs-storage-cloud-services-getting-started-queues).
154+
For more information about storage services queues, see [Get started with Azure Queue storage using .NET](/azure/storage/queues/storage-dotnet-how-to-use-queues). For information about the web service for storage services queues, see [Queue Service Concepts](/rest/api/storageservices/Queue-Service-Concepts). For information about how to send messages to a storage services queue by using Visual Studio, see [Sending Messages to a Storage Services Queue](/previous-versions/azure/visual-studio/vs-storage-cloud-services-getting-started-queues).
155155

156156
> [!NOTE]
157157
> Storage services queues are distinct from Azure Service Bus queues. For more information about Service Bus queues, see [Service Bus queues, topics, and subscriptions](/azure/service-bus-messaging/service-bus-queues-topics-subscriptions).

docs/code-quality/code-metrics-cyclomatic-complexity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ Watson, A. H., & McCabe, T. J. (1996). Structured Testing: A Testing Methodology
8888

8989
### SATC
9090

91-
Rosenberg, L., Hammer, T., Shaw, J. (1998). Software Metrics and Reliability (Proceedings of IEEE International Symposium on Software Reliability Engineering). Retrieved May 14, 2011, from Penn State University web site: [http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.104.4041&rep=rep1&type=pdf](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.104.4041&rep=rep1&type=pdf)
91+
Rosenberg, L., Hammer, T., Shaw, J. (1998). Software Metrics and Reliability (Proceedings of IEEE International Symposium on Software Reliability Engineering). Retrieved May 14, 2011, from Penn State University web site: [https://citeseerx.ist.psu.edu/pdf/31e3f5732a7af3aecd364b6cc2a85d9495b5c159](https://citeseerx.ist.psu.edu/pdf/31e3f5732a7af3aecd364b6cc2a85d9495b5c159)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ The remote computer must be running one of the following operating systems:
4949

5050
### Network configuration
5151

52-
The remote computer and the Visual Studio computer must be connected over a network, workgroup, or homegroup, or else connected directly through an Ethernet cable. Debugging between two computers connected through a proxy isn't supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries isn't recommended and may fail or be unacceptably slow.
52+
The remote computer and the Visual Studio computer must be connected over a network, workgroup, or homegroup, or else connected directly through an Ethernet cable. Debugging between two computers connected through a proxy isn't supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries/regions isn't recommended and may fail or be unacceptably slow.

docs/debugger/remote-debugging-aks-on-linux-with-ssh.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These procedures have been tested on these server configurations:
3939
The remote debugger is supported on Windows Server starting with Windows Server 2008 Service Pack 2. For a complete list of requirements, see [Requirements](../debugger/remote-debugging.md#requirements_msvsmon).
4040

4141
> [!NOTE]
42-
> Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low-bandwidth connection, such as dialup Internet, or over the Internet across countries is not recommended and may fail or be unacceptably slow.
42+
> Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low-bandwidth connection, such as dialup Internet, or over the Internet across countries/regions is not recommended and may fail or be unacceptably slow.
4343
4444
## App already running in IIS?
4545

docs/debugger/remote-debugging-azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Visual Studio 2019 or later versions is required to follow the steps shown in th
4242

4343
### Network requirements
4444

45-
Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries is not recommended and may fail or be unacceptably slow. For a complete list of requirements, see [Requirements](../debugger/remote-debugging.md#requirements_msvsmon).
45+
Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries/regions is not recommended and may fail or be unacceptably slow. For a complete list of requirements, see [Requirements](../debugger/remote-debugging.md#requirements_msvsmon).
4646

4747
## App already running in IIS on the Azure VM?
4848

docs/debugger/remote-debugging-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For information about remote debugging Universal Windows Apps (UWP), see [Debug
3535
The remote debugger is supported on Windows 7 and newer and versions of Windows Server starting with Windows Server 2008 Service Pack 2. For a complete list of requirements, see [Requirements](../debugger/remote-debugging.md#requirements_msvsmon).
3636

3737
> [!NOTE]
38-
> Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries is not recommended and may fail or be unacceptably slow.
38+
> Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries/regions is not recommended and may fail or be unacceptably slow.
3939
4040
## Download and Install the remote tools
4141

docs/debugger/remote-debugging-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For information about remote debugging Universal Windows Apps (UWP), see [Debug
3434
The remote debugger is supported on Windows 7 and newer (not phone) and versions of Windows Server starting with Windows Server 2008 Service Pack 2. For a complete list of requirements, see [Requirements](../debugger/remote-debugging.md#requirements_msvsmon).
3535

3636
> [!NOTE]
37-
> Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries is not recommended and may fail or be unacceptably slow.
37+
> Debugging between two computers connected through a proxy is not supported. Debugging over a high latency or low bandwidth connection, such as dialup Internet, or over the Internet across countries/regions is not recommended and may fail or be unacceptably slow.
3838
3939
## Download and Install the remote tools
4040

docs/debugger/remote-debugging-dotnet-core-linux-with-ssh.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Debug .NET Core on Linux"
33
description: Debug .NET Core on Linux using Secure Shell (SSH) by attaching to a process. Prepare your app for debugging. Build and deploy the app. Attach the debugger.
44
ms.custom: SEO-VS-2020
5-
ms.date: "08/24/2021"
5+
ms.date: "10/24/2022"
66
ms.topic: "conceptual"
77
helpviewer_keywords:
88
- "remote debugging, linux"
@@ -19,6 +19,9 @@ ms.workload:
1919

2020
Starting in Visual Studio 2017, you can attach to .NET Core processes running on a local or remote Linux deployment over Secure Shell (SSH). This article describes how to set up debugging and how to debug. For debugging scenarios using Docker containers, see [Attach to a process running on a Docker container](../debugger/attach-to-process-running-in-docker-container.md) and the [container tools](../containers/edit-and-refresh.md) articles instead. To debug Linux on WSL 2 from Visual Studio (no attach to process), see [Debug .NET Core Apps in WSL 2 with Visual Studio](../debugger/debug-dotnet-core-in-wsl-2.md).
2121

22+
> [!NOTE]
23+
> For debugging Linux running on Azure Kubernetes Service (AKS), [Bridge to Kubernetes](/visualstudio/bridge/overview-bridge-to-kubernetes.md) is recommended instead of attach to process.
24+
2225
## Prerequisites
2326

2427
[!INCLUDE [prerequisites-dotnet-linux-ssh](../debugger/includes/prerequisites-dotnet-linux-ssh.md)]

docs/debugger/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@
438438
href: debug-dotnet-core-in-wsl-2.md
439439
- name: Debug .NET Core on Linux using SSH
440440
href: remote-debugging-dotnet-core-linux-with-ssh.md
441-
- name: Remote debug .NET Core running in AKS on Linux using SSH
442-
href: remote-debugging-aks-on-linux-with-ssh.md
441+
- name: Debug .NET Core on AKS >>
442+
href: /visualstudio/bridge/bridge-to-kubernetes-vs.md
443443
- name: Debug with Container Tools >>
444444
href: ../containers/edit-and-refresh.md
445445
- name: Application types

docs/ide/quickstart-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: In this quickstart, you use Visual Studio and the Flask framework t
55
ms.date: 09/14/2021
66
ms.technology: vs-python
77
ms.topic: quickstart
8-
author: ijoosong
9-
ms.author: joesong
8+
author: cwebster-99
9+
ms.author: cowebster
1010
manager: jmartens
1111
ms.custom: [vs-acquisition]
1212
ms.workload:

docs/msbuild/common-msbuild-project-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The following table lists frequently used properties that are defined in the Vis
8686
| OptionInfer | Visual Basic | A boolean value that when set to `true`, enables type inference of variables. This property is equivalent to the `/optioninfer` compiler switch. |
8787
| OptionStrict | Visual Basic | A boolean value that when set to `true`, causes the build task to enforce strict type semantics to restrict implicit type conversions. This property is equivalent to the `/optionstrict` switch of the *vbc.exe* compiler. |
8888
| OutDir | All | Indicates the final output location for the project or solution. When building a solution, OutDir can be used to gather multiple project outputs in one location. In addition, OutDir is included in AssemblySearchPaths used for resolving references. For example, *bin\Debug*. |
89-
| OutputPath | All | Specifies the path to the output directory, relative to the project directory, for example, *bin\Debug*. |
89+
| OutputPath | All | Specifies the path to the output directory, relative to the project directory, for example, *bin\Debug* or *bin\Debug\\$(Platform)* in non-AnyCPU builds.|
9090
| OutputType | All | Specifies the file format of the output file. This parameter can have one of the following values:<br /><br /> - Library. Creates a code library. (Default value.)<br />- Exe. Creates a console application.<br />- Module. Creates a module.<br />- Winexe. Creates a Windows-based program.<br /><br /> For C# and Visual Basic, this property is equivalent to the `/target` switch. The output type can be automatically overridden by inferencing. See [OutputType set to WinExe for WPF and WinForms apps](/dotnet/core/compatibility/sdk/5.0/automatically-infer-winexe-output-type). Disable inferencing by setting `DisableWinExeOutputInference` to `true`. |
9191
| OverwriteReadOnlyFiles | All | A boolean value that indicates whether you want to enable the build to overwrite read-only files or trigger an error. |
9292
| PathMap | .NET | Specifies how to map physical paths to source path names output by the compiler. This property is equivalent to the `/pathmap` switch of the compilers. |

docs/msbuild/msbuild-server.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: MSBuild Server | Microsoft Docs
3+
description: Learn how MSBuild Server supports frequent build scenarios by cacheing build context over multiple builds.
4+
ms.date: 10/11/2022
5+
ms.topic: overview
6+
helpviewer_keywords:
7+
- MSBuild Server
8+
author: ghogen
9+
ms.author: ghogen
10+
manager: jmartens
11+
ms.technology: msbuild
12+
ms.workload:
13+
- multiple
14+
---
15+
# MSBuild Server
16+
17+
MSBuild Server improves the performance of .NET Core builds, which are invoked when you use the `dotnet build` command from the .NET CLI on Windows, Linux, or Mac .NET Core build environments. Instead of starting the build process each time a build is requested, much of the context is cached in a long-running process so it is available to be reused by the next build. MSBuild Server is not relevant to Visual Studio builds, because Visual Studio acts as a host for MSBuild and already caches all the necessary context.
18+
19+
MSBuild Server is generally not helpful in CI scenarios such as Azure Pipeline builds, because pipelines typically stand up a build environment on demand for each build and then dispose of it when the build is completed.
20+
21+
## Enable MSBuild Server
22+
23+
MSBuild server is not enabled by default; to enable it, set the environment variable `DOTNET_CLI_USE_MSBUILD_SERVER` to `true` or `1`.
24+
25+
Once enabled, for the first time you start a new build process, the build server is launched. When you start the first build, it enables the cache. The cache is persisted after the completion of the first build; the second build therefore proceeds faster since the startup time is significantly reduced due to the cached information. The cache persists after the build is completed, but after an idle time of 15 minutes, it shuts down. Therefore, it is primarily beneficial in repetitive build scenarios where many builds are requested in close succession.
26+
27+
## Shut down or disable MSBuild Server
28+
29+
There are a few different ways to disable the use of MSBuild server. If you just want to shut down the running server, you can issue the command `dotnet build-server shutdown`.
30+
31+
To disable the feature for all builds on a machine, you can set the system environment variable `DOTNET_CLI_USE_MSBUILD_SERVER` to `0` or `false`. You could also set this variable on a per-project basis in a tool like VS Code in `launch.json`.
32+
33+
To disable MSBuild Server for a particular invocation of a command-line build, you can use the option `/nr:false` (or `/node-reuse:false`).
34+
35+
To disable the feature entirely, you can opt out of the change wave that enabled it; `SET MSBuildDisableFeaturesFromVersion="17.4"`. This disabled other features in the same change wave. For more information about change waves, see [MSBuild change waves](change-waves.md).
36+
37+
## Determine the current status of the build server
38+
39+
You can view process status on the machine and look for MSBuild server processes. MSBuild server processes are launched with `dotnet.exe` and show a path to MSBuild.dll and the command option `/nodemode:8`, where `8` indicates MSBuild Server ( `/nodemode:1` indicates the normal MSBuild worker nodes).
40+
41+
## See also
42+
43+
- [dotnet build](/dotnet/core/tools/dotnet-build)
44+
- [MSBuild](msbuild.md)

docs/msbuild/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ items:
113113
href: item-metadata-in-target-batching.md
114114
- name: MSBuild transforms
115115
href: msbuild-transforms.md
116+
- name: MSBuild Server
117+
href: msbuild-server.md
116118
- name: Visual Studio integration
117119
items:
118120
- name: Visual Studio integration (MSBuild)

docs/python/configure-web-apps-for-iis-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Configure Python web apps for IIS
33
description: How to configure Python web apps to run with Internet Information Services from a Windows virtual machine.
44
ms.date: 05/25/2022
55
ms.topic: how-to
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

docs/python/data-science-and-analytical-applications-workload.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Data Science and Analytical Applications workload
33
description: This Visual Studio workload brings together Python, F#, and their respective runtime distributions including Anaconda. (R is also included in Visual Studio 2017 only.)
44
ms.date: 07/28/2021
55
ms.topic: overview
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010
ms.workload:

docs/python/debugging-mixed-mode-c-cpp-python-in-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Mixed-mode debugging for Python
33
description: Simultaneously debug C++ and Python in Visual Studio including stepping between environments, viewing values, and evaluating expressions.
44
ms.date: 01/26/2022
55
ms.topic: how-to
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

docs/python/debugging-python-code-on-remote-linux-machines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Debug Python code on remote Linux computers
33
description: Use Visual Studio to debug Python code running on remote Linux computers, including necessary configuration steps, security, and troubleshooting.
44
ms.date: 01/17/2022
55
ms.topic: how-to
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

docs/python/debugging-python-in-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Debug Python code
33
description: Visual Studio provides rich debugging for Python code, including setting breakpoints, stepping, inspecting values, looking at exceptions, and debugging in the interactive window.
44
ms.date: 01/17/2022
55
ms.topic: how-to
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

docs/python/debugging-symbols-for-mixed-mode-c-cpp-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Symbols for mixed-mode Python/C++ debugging
33
description: How Visual Studio provides the ability to load symbols for complete mixed-mode C++ and Python debugging.
44
ms.date: 01/27/2022
55
ms.topic: how-to
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010
ms.workload:

docs/python/defining-custom-python-project-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Define custom menu commands for Python projects
33
description: By editing project and targets files, you can add custom commands to the Python project context menu in Visual Studio to invoke executable programs, scripts, modules, inline code snippets, and pip.
44
ms.date: 01/18/2022
55
ms.topic: how-to
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

docs/python/editing-python-code-in-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Edit Python code
33
description: For Python, Visual Studio provides rich IntelliSense, code snippets, and navigation features, alongside formatting, linting, and refactoring.
44
ms.date: 01/18/2022
55
ms.topic: conceptual
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

docs/python/formatting-python-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Reformat your python code in Visual Studio
33
description: Automatically format Python code in Visual Studio, including spacing, statements, wrapping, and comments.
44
ms.date: 03/13/2022
55
ms.topic: conceptual
6-
author: ijoosong
7-
ms.author: joesong
6+
author: cwebster-99
7+
ms.author: cowebster
88
manager: jmartens
99
ms.technology: vs-python
1010

0 commit comments

Comments
 (0)