Skip to content

Commit f69af2d

Browse files
authored
Merge pull request #10086 from MicrosoftDocs/main638448484166615265sync_temp
Repo sync for protected branch
2 parents db3e3a7 + 883e147 commit f69af2d

Some content is hidden

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

41 files changed

+371
-311
lines changed

.docutune/config/docutune-unattended.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
"name": "Default",
2323
"command": "Fix",
2424
"configType": "full",
25-
"stopAt": 25
25+
"stopAt": 25,
26+
"include": [
27+
"docs/"
28+
]
2629
},
2730
{
2831
"name": "FlagBrokenLinks",

.docutune/config/docutune-visualstudio-docs-pr.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,19 @@
3535
}
3636
],
3737
"MetadataMultilineValues": true,
38-
,
39-
"RemoveTermSets": [
38+
"RemoveTermSets": [
4039
"*right-click*",
4140
"*for-more-information-see*",
4241
"*had-had*",
4342

4443
"formatting-learn-more",
45-
"formatting-technical-for-more-information-see",
46-
"formatting-technical-for-more-information-see-see",
47-
"formatting-technical-accessibility-and-then-click"
44+
"*and-then-click*",
45+
"casing-product-windows-windows",
46+
"invalid-abbreviation-ide-integrated-development-environment-0001-define-abbreviation*",
47+
"invalid-abbreviation-ide-integrated-development-environment-0001-include-abbreviation*",
48+
"*single-backtick*",
49+
"*incorrect-backtick-spacing*",
50+
"product-azure-app-service",
51+
"*-caution-*"
4852
]
4953
}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
1010

1111
## How can I contribute?
1212

13-
There is a variety of ways to contribute to the documentation. Review the sections below to find out which one is right for you.
13+
There is a variety of ways to contribute to the documentation. Review the following sections to find out which one is right for you.
1414

1515
### Report bugs or suggest enhancements
1616

17-
Please use the feedback tool at the bottom of any article to submit bugs and suggestions.
17+
Use the feedback tool at the bottom of any article to submit bugs and suggestions.
1818

1919
![Feedback tool](media/feedback-tool.png)
2020

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Learn site is changing how we receive feedback on the documentation. The new
1414

1515
We welcome your contributions to help us improve the Visual Studio docs. All the articles in this repository use GitHub-flavored markdown.
1616

17-
Several feature areas of Visual Studio have their own folders in this repo, such as **debugger** for topics on debugging, **ide** for topics on the Visual Studio interactive development environment (IDE), and so forth. The **/media** subfolder in each folder contains art files for the topics.
17+
Several feature areas of Visual Studio have their own folders in this repo, such as **debugger** for topics on debugging, **ide** for topics on the Visual Studio integrated development environment (IDE), and so forth. The **/media** subfolder in each folder contains art files for the topics.
1818

1919
For more information about contributing, see the [Contributing guide](CONTRIBUTING.md).
2020

SECURITY.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@
44

55
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
66

7-
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), report it to us as described below.
88

99
## Reporting Security Issues
1010

1111
**Please do not report security vulnerabilities through public GitHub issues.**
1212

13-
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
13+
Instead, report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
1414

15-
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our Pretty Good Privacy (PGP) key; download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
1616

17-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
17+
You should receive a response within 24 hours. If for some reason you do not, follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
1818

19-
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
19+
Include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
2020

21-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22-
* Full paths of source file(s) related to the manifestation of the issue
23-
* The location of the affected source code (tag/branch/commit or direct URL)
24-
* Any special configuration required to reproduce the issue
25-
* Step-by-step instructions to reproduce the issue
26-
* Proof-of-concept or exploit code (if possible)
27-
* Impact of the issue, including how an attacker might exploit the issue
21+
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, and so on)
22+
- Full paths of source files related to the manifestation of the issue
23+
- The location of the affected source code (tag/branch/commit or direct URL)
24+
- Any special configuration required to reproduce the issue
25+
- Step-by-step instructions to reproduce the issue
26+
- Proof-of-concept code or exploit code (if possible)
27+
- Impact of the issue, including how an attacker might exploit the issue
2828

2929
This information will help us triage your report more quickly.
3030

31-
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
3232

3333
## Preferred Languages
3434

3535
We prefer all communications to be in English.
3636

3737
## Policy
3838

39-
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure (CVD)](https://aka.ms/opensource/security/cvd).
4040

4141
<!-- END MICROSOFT SECURITY.MD BLOCK -->

docs/code-quality/how-to-enable-and-disable-automatic-code-analysis-for-managed-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can configure legacy code analysis (binary analysis) to run after each build
1818
1919
To enable or disable legacy code analysis:
2020

21-
1. In **Solution Explorer**, select and hold (or right-click) the project, and then select **Properties**.
21+
1. In **Solution Explorer**, right-click the project, and then select **Properties**.
2222

2323
2. In the properties dialog box for the project, go to the **Code Analysis** tab.
2424

docs/get-started/csharp/tutorial-aspnet-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This tutorial shows you how to:
2828
2929
## Prerequisites
3030

31-
You need Visual Studio to complete this tutorial. Visit the [Visual Studio downloads page](https://visualstudio.microsoft.com/vs) for a free version.
31+
You need Visual Studio to complete this tutorial. Visit the [Visual Studio downloads page](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-tutorial-create-csharp-aspnetcore-web-app-page-cta) for a free version.
3232

3333
- For more information about upgrading to the latest Visual Studio release, see [Visual Studio updates](../../install/update-visual-studio.md).
3434

docs/get-started/csharp/tutorial-console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In this tutorial, you complete the following tasks:
3232

3333
You must have Visual Studio installed.
3434

35-
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.
35+
If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-tutorial-create-simple-csharp-console-app-page-cta) page to install it for free.
3636

3737
## Create a project
3838

docs/ide/create-csharp-winform-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In this tutorial, you'll create a simple C# application that has a Windows-based
1818

1919
::: moniker range="vs-2019"
2020

21-
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.
21+
If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-create-csharp-winform-app-page-cta) page to install it for free.
2222

2323
> [!NOTE]
2424
> Some of the screenshots in this tutorial use the dark theme. If you aren't using the dark theme but would like to, see the [Change fonts, colors, and themes in Visual Studio](../ide/how-to-change-fonts-and-colors-in-visual-studio.md) page to learn how.
@@ -27,7 +27,7 @@ If you haven't already installed Visual Studio, go to the [Visual Studio downloa
2727

2828
::: moniker range="vs-2022"
2929

30-
If you haven't already installed Visual Studio, go to the [Visual Studio 2022 downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) page to install it for free.
30+
If you haven't already installed Visual Studio, go to the [Visual Studio 2022 downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download--create-csharp-winform-app-page-cta) page to install it for free.
3131

3232
::: moniker-end
3333

docs/install/install-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ You will need to decide which version and edition of Visual Studio to install. T
106106
- The latest release of Visual Studio 2022 that is hosted on Microsoft servers. To install this, click on the following button and then choose the edition you want. A small "bootstrapper" file will then be downloaded into your **Downloads** folder.
107107

108108
> [!div class="button"]
109-
> [Download Visual Studio](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta)
109+
> [Download Visual Studio](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-install-visual-studio-page-cta)
110110
111111
::: moniker-end
112112

docs/javascript/tutorial-asp-net-core-with-angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can use the method described in this article to create ASP.NET Core Single P
3030

3131
Make sure to install the following:
3232

33-
- Visual Studio 2022 version 17.8 or later with the **ASP.NET and web development** workload installed. Go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) page to install it for free.
33+
- Visual Studio 2022 version 17.8 or later with the **ASP.NET and web development** workload installed. Go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-create-aspnetcore-app-with-angular-page-cta) page to install it for free.
3434
If you need to install the workload and already have Visual Studio, go to **Tools** > **Get Tools and Features...**, which opens the Visual Studio Installer. Choose the **ASP.NET and web development** workload, then choose **Modify**.
3535
- npm ([https://www.npmjs.com/](https://www.npmjs.com/package/npm)), which is included with Node.js
3636
- Angular CLI ([https://angular.io/cli](https://angular.io/cli))

docs/msbuild/build-process-overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How MSBuild builds projects
33
description: Discover how MSBuild processes your project files, whether you invoke the build tool from Visual Studio or from a command line or script.
4-
ms.date: 05/18/2020
4+
ms.date: 02/13/2024
55
ms.topic: overview
66
helpviewer_keywords:
77
- MSBuild, build process overview
@@ -18,21 +18,21 @@ The complete build process consists of [initial startup](#startup), [evaluation]
1818

1919
## Startup
2020

21-
MSBuild can be invoked from Visual Studio through the MSBuild object model in *Microsoft.Build.dll*, or by invoking the executable directly on the command line, or in a script, such as in CI systems. In either case, inputs that affect the build process include the project file (or project object internal to Visual Studio), possibly a solution file, environment variables, and command-line switches or their object model equivalents. During the startup phase, the command-line options or object model equivalents are used to configure MSBuild settings such as configuring loggers. Properties set on the command line using the `-property` or `-p` switch are set as global properties, which override any values that would be set in the project files, even though project files are read in later.
21+
MSBuild can be invoked from Visual Studio through the MSBuild object model in *Microsoft.Build.dll*, or by invoking the executable (`MSBuild.exe` or `dotnet build`) directly on the command line, or in a script, such as in CI systems. In either case, inputs that affect the build process include the project file (or project object internal to Visual Studio), possibly a solution file, environment variables, and command-line switches or their object model equivalents. During the startup phase, the command-line options or object model equivalents are used to configure MSBuild settings such as configuring loggers. Properties set on the command line using the `-property` or `-p` switch are set as global properties, which override any values that would be set in the project files, even though project files are read in later.
2222

2323
The next sections are about the input files, such as solution files or project files.
2424

2525
### Solutions and projects
2626

2727
MSBuild instances may consist of one project, or many projects as part of a solution. The solution file isn't an MSBuild XML file, but MSBuild interprets it to know all the projects that are required to be built for the given configuration and platform settings. When MSBuild processes this XML input, it's referred to as the solution build. It has some extensible points that allow you to run something at every solution build, but since this build is a separate run from the individual project builds, no settings of properties or target definitions from the solution build are relevant to each project build.
2828

29-
You can find out how to extend the solution build at [Customize the solution build](customize-your-build.md#customize-the-solution-build).
29+
You can find out how to extend the solution build at [Customize the solution build](customize-solution-build.md).
3030

3131
### Visual Studio builds vs. MSBuild.exe builds
3232

3333
There are some significant differences between when projects build in Visual Studio vs. when you invoke MSBuild directly, either through the MSBuild executable, or when you use the MSBuild object model to start a build. Visual Studio manages the project build order for Visual Studio builds; it only calls MSBuild at the individual project level, and when it does, a couple of Boolean properties (`BuildingInsideVisualStudio`, `BuildProjectReferences`) are set that significantly affect what MSBuild does. Inside each project, execution occurs the same as when invoked through MSBuild, but the difference arises with referenced projects. In MSBuild, when referenced projects are required, a build actually occurs; that is, it runs tasks and tools, and generates the output. When a Visual Studio build finds a referenced project, MSBuild only returns the expected outputs from the referenced project; it lets Visual Studio control the building of those other projects. Visual Studio determines the build order and calls into MSBuild separately (as needed), all completely under Visual Studio's control.
3434

35-
Another difference arises when MSBuild is invoked with a solution file, MSBuild parses the solution file, creates a standard XML input file, evaluates it, and executes it as a project. The solution build is executed before any project. When building from Visual Studio, none of this happens; MSBuild never sees the solution file. As a consequence, solution build customization (using *before.SolutionName.sln.targets* and *after.SolutionName.sln.targets*) only applies to MSBuild.exe or object model driven, not Visual Studio builds.
35+
Another difference arises when MSBuild is invoked with a solution file, MSBuild parses the solution file, creates a standard XML input file, evaluates it, and executes it as a project. The solution build is executed before any project. When building from Visual Studio, none of this happens; MSBuild never sees the solution file. As a consequence, solution build customization (using *before.SolutionName.sln.targets* and *after.SolutionName.sln.targets*) only applies to MSBuild.exe, `dotnet build`, or object-model-driven builds, not Visual Studio builds.
3636

3737
### Project SDKs
3838

@@ -91,7 +91,7 @@ In this phase, all target object structures are created in memory, in preparatio
9191

9292
## Execution phase
9393

94-
In the execution phase, the targets are ordered and run, and all tasks are executed. But first, properties and items that are defined within targets are evaluated together in a single phase in the order in which they appear. The order of processing is notably different from how properties and items that aren't in a target are processed: all properties first, and then all items, in separate passes. Changes to properties and items within a target can be observed after the target where they were changed.
94+
In the execution phase, the targets are ordered and run, and all tasks are executed. But first, properties and items that are defined within targets are evaluated together in a single phase in the order in which they appear. The order of processing is notably different from how properties and items that aren't in a target are processed: all properties first, and then all items, in separate passes. Changes to properties and items within a target can be observed after the target where they were changed.
9595

9696
### Target build order
9797

0 commit comments

Comments
 (0)