You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The Learn site is changing how we receive feedback on the documentation. The new
14
14
15
15
We welcome your contributions to help us improve the Visual Studio docs. All the articles in this repository use GitHub-flavored markdown.
16
16
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.
18
18
19
19
For more information about contributing, see the [Contributing guide](CONTRIBUTING.md).
Copy file name to clipboardExpand all lines: SECURITY.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -4,38 +4,38 @@
4
4
5
5
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/).
6
6
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.
8
8
9
9
## Reporting Security Issues
10
10
11
11
**Please do not report security vulnerabilities through public GitHub issues.**
12
12
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).
14
14
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).
16
16
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).
18
18
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:
20
20
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
28
28
29
29
This information will help us triage your report more quickly.
30
30
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.
32
32
33
33
## Preferred Languages
34
34
35
35
We prefer all communications to be in English.
36
36
37
37
## Policy
38
38
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).
Copy file name to clipboardExpand all lines: docs/get-started/csharp/tutorial-aspnet-core.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ This tutorial shows you how to:
28
28
29
29
## Prerequisites
30
30
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.
32
32
33
33
- For more information about upgrading to the latest Visual Studio release, see [Visual Studio updates](../../install/update-visual-studio.md).
Copy file name to clipboardExpand all lines: docs/get-started/csharp/tutorial-console.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ In this tutorial, you complete the following tasks:
32
32
33
33
You must have Visual Studio installed.
34
34
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.
Copy file name to clipboardExpand all lines: docs/ide/create-csharp-winform-visual-studio.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ In this tutorial, you'll create a simple C# application that has a Windows-based
18
18
19
19
::: moniker range="vs-2019"
20
20
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.
22
22
23
23
> [!NOTE]
24
24
> 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
27
27
28
28
::: moniker range="vs-2022"
29
29
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.
Copy file name to clipboardExpand all lines: docs/install/install-visual-studio.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ You will need to decide which version and edition of Visual Studio to install. T
106
106
- 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.
Copy file name to clipboardExpand all lines: docs/javascript/tutorial-asp-net-core-with-angular.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ You can use the method described in this article to create ASP.NET Core Single P
30
30
31
31
Make sure to install the following:
32
32
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.
34
34
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**.
35
35
- npm ([https://www.npmjs.com/](https://www.npmjs.com/package/npm)), which is included with Node.js
Copy file name to clipboardExpand all lines: docs/msbuild/build-process-overview.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: How MSBuild builds projects
3
3
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
5
5
ms.topic: overview
6
6
helpviewer_keywords:
7
7
- MSBuild, build process overview
@@ -18,21 +18,21 @@ The complete build process consists of [initial startup](#startup), [evaluation]
18
18
19
19
## Startup
20
20
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.
22
22
23
23
The next sections are about the input files, such as solution files or project files.
24
24
25
25
### Solutions and projects
26
26
27
27
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.
28
28
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).
30
30
31
31
### Visual Studio builds vs. MSBuild.exe builds
32
32
33
33
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.
34
34
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.exeor objectmodeldriven, 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.
36
36
37
37
### Project SDKs
38
38
@@ -91,7 +91,7 @@ In this phase, all target object structures are created in memory, in preparatio
91
91
92
92
## Execution phase
93
93
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.
0 commit comments