Skip to content

Commit 2c6b24e

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents 4a9b403 + f16e9cc commit 2c6b24e

File tree

8 files changed

+67
-20
lines changed

8 files changed

+67
-20
lines changed

docs/debugger/debug-interface-access/customtype.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CustomType"
2+
title: CustomType
33
description: Find reference information about the CustomType symbol type (SymTagCustomType) in the Visual Studio debug interface access SDK.
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,12 +12,14 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# CustomType
1617

1718
Vendor-defined types (compiler-specific types) are identified by a `SymTagCustomType` symbol.
1819

1920
## Properties
20-
The following table shows additional valid properties for this symbol type.
21+
22+
The following table shows additional valid properties for this symbol type.
2123

2224
|Property|Data type|Description|
2325
|--------------|---------------|-----------------|
@@ -30,4 +32,5 @@ Vendor-defined types (compiler-specific types) are identified by a `SymTagCustom
3032
|[IDiaSymbol::get_types](../../debugger/debug-interface-access/idiasymbol-get-types.md)|`IDiaSymbol**`|Array of all types referenced by the custom type symbol.|
3133

3234
## See also
33-
- [Class Hierarchy of Symbol Types](../../debugger/debug-interface-access/class-hierarchy-of-symbol-types.md)
35+
36+
- [Class Hierarchy of Symbol Types](../../debugger/debug-interface-access/class-hierarchy-of-symbol-types.md)

docs/debugger/debug-interface-access/cv-access-e.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CV_access_e"
2+
title: CV_access_e
33
description: Get information about the CV_access_e enumeration type, which specifies the scope of visibility (access level) of members in the debug interface access SDK.
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,13 +12,14 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# CV_access_e
1617

1718
Specifies the scope of visibility (access level) of member functions and variables.
1819

1920
## Syntax
2021

21-
```C++
22+
```c++
2223
typedef enum CV_access_e {
2324
CV_private = 1,
2425
CV_protected = 2,
@@ -35,12 +36,15 @@ typedef enum CV_access_e {
3536
| CV_public | Member has public access. |
3637

3738
## Remarks
39+
3840
The `friend` access specifier is not included here because it is typically used by non-member functions that have access to both private and protected elements of the class. Use the [IDiaSymbol::get_symTag](../../debugger/debug-interface-access/idiasymbol-get-symtag.md) method to find symbols with `SymTagFriend` access.
3941

4042
## Requirements
43+
4144
Header: cvconst.h
4245

4346
## See also
47+
4448
- [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
4549
- [IDiaSymbol::get_access](../../debugger/debug-interface-access/idiasymbol-get-access.md)
4650
- [IDiaSymbol::get_symTag](../../debugger/debug-interface-access/idiasymbol-get-symtag.md)

docs/debugger/debug-interface-access/cv-call-e.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CV_call_e"
2+
title: CV_call_e
33
description: Get reference information about the CV_call_e enumeration type, which specifies the calling convention for a function in the debug interface access SDK.
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# CV_call_e
1617

1718
Specifies the calling convention for a function.
@@ -21,7 +22,7 @@ Specifies the calling convention for a function.
2122
2223
## Syntax
2324

24-
```C++
25+
```c++
2526
typedef enum CV_call_e {
2627
CV_CALL_NEAR_C = 0x00,
2728
CV_CALL_NEAR_FAST = 0x04,
@@ -44,11 +45,14 @@ typedef enum CV_call_e {
4445
| CV_CALL_CLRCALL | Specifies a function-calling convention used by the Common Language Runtime (CLR)</br> (also known as a managed code calling convention). |
4546

4647
## Remarks
48+
4749
The values in this enumeration are returned by a call to the [IDiaSymbol::get_callingConvention](../../debugger/debug-interface-access/idiasymbol-get-callingconvention.md) method.
4850

4951
## Requirements
52+
5053
Header: cvconst.h
5154

5255
## See also
56+
5357
- [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
5458
- [IDiaSymbol::get_callingConvention](../../debugger/debug-interface-access/idiasymbol-get-callingconvention.md)

docs/debugger/debug-interface-access/cv-cfl-lang.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CV_CFL_LANG"
2+
title: CV_CFL_LANG
33
description: Get information about the CV_CFL_LANG enumeration type, which specifies the code language of the application or linked module in the debug interface access SDK.
44
ms.date: "4/04/2023"
55
ms.topic: "reference"
@@ -12,13 +12,14 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# CV_CFL_LANG
1617

1718
Specifies the source code language of the application or linked module.
1819

1920
## Syntax
2021

21-
```C++
22+
```c++
2223
typedef enum CV_CFL_LANG {
2324
CV_CFL_C = 0x00,
2425
CV_CFL_CXX = 0x01,
@@ -75,11 +76,14 @@ typedef enum CV_CFL_LANG {
7576
| CV_CFL_GO | Application language is Go. |
7677

7778
## Remarks
79+
7880
The values in this enumeration are returned by a call to the [IDiaSymbol::get_language](../../debugger/debug-interface-access/idiasymbol-get-language.md) method.
7981

8082
## Requirements
83+
8184
Header: cvconst.h
8285

8386
## See also
87+
8488
- [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
8589
- [IDiaSymbol::get_language](../../debugger/debug-interface-access/idiasymbol-get-language.md)

docs/debugger/debug-interface-access/cv-cpu-type-e.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CV_CPU_TYPE_e"
2+
title: CV_CPU_TYPE_e
33
description: Get reference information about the CV_CPU_TYPE_e enumeration type, which specifies the target processor in the debug interface access SDK.
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# CV_CPU_TYPE_e
1617

1718
Specifies the target processor.
@@ -21,7 +22,7 @@ Specifies the target processor.
2122
2223
## Syntax
2324

24-
```C++
25+
```c++
2526
typedef enum CV_CPU_TYPE_e {
2627
CV_CFL_8080 = 0x00,
2728
CV_CFL_8086 = 0x01,
@@ -90,11 +91,14 @@ typedef enum CV_CPU_TYPE_e {
9091
```
9192

9293
## Remarks
94+
9395
The values in this enumeration are returned by a call to the [IDiaSymbol::get_platform](../../debugger/debug-interface-access/idiasymbol-get-platform.md) method.
9496

9597
## Requirements
98+
9699
Header: cvconst.h
97100

98101
## See also
102+
99103
- [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
100104
- [IDiaSymbol::get_platform](../../debugger/debug-interface-access/idiasymbol-get-platform.md)

docs/debugger/debug-interface-access/cv-hreg-e.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "CV_HREG_e"
2+
title: CV_HREG_e
33
description: Get reference information about the CV_HREG_e enumeration type, which specifies a target register in the debug interface access SDK.
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,6 +12,7 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# CV_HREG_e
1617

1718
Specifies a target register.
@@ -21,7 +22,7 @@ Specifies a target register.
2122
2223
## Syntax
2324

24-
```C++
25+
```c++
2526
enum CV_HREG_e {
2627
// Register subset shared by all processor types
2728
CV_ALLREG_ERR = 30000,
@@ -408,7 +409,7 @@ enum CV_HREG_e {
408409
| ---------------------- | --------------------------------------------------------------------------- |
409410
| CV_REG_* | Registers used by Intel 80x86 and ix86 processors and p-code. |
410411
| CV_R68_* | Registers used by 68K processor. |
411-
| CV_M4_* | Registers used by MIPS 4000 series processor. |
412+
| CV_M4_* | <!-- docutune:ignoredChange 'MIPS' --> Registers used by MIPS 4000 series processor. |
412413
| CV_ALPHA_* | Registers used by Digital Equipment Corporation Alpha AXP series processor. |
413414
| CV_PPC_* | Registers used by Motorola/IBM PowerPC processor. |
414415
| CV_SH3_* and CV_SH_\\* | Registers used by Hitachi SH3 and Hitachi SH series processor. |
@@ -419,6 +420,7 @@ enum CV_HREG_e {
419420
| CV_M32R_* | Registers used by Mitsubishi M32R processor. |
420421

421422
## Remarks
423+
422424
Each processor type uses its own unique set of registers.
423425

424426
The values in this enumeration are passed to the following methods:
@@ -434,9 +436,11 @@ The values in this enumeration are passed to the following methods:
434436
- [IDiaStackFrame::get_registerValue](../../debugger/debug-interface-access/idiastackframe-get-registervalue.md)
435437

436438
## Requirements:
439+
437440
Header: cvconst.h
438441

439442
## See also
443+
440444
- [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
441445
- [IDiaStackWalkFrame::get_registerValue](../../debugger/debug-interface-access/idiastackwalkframe-get-registervalue.md)
442446
- [IDiaStackWalkFrame::put_registerValue](../../debugger/debug-interface-access/idiastackwalkframe-put-registervalue.md)

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

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tutorial: Create Windows App SDK Apps with Visual Studio & C#"
33
description: Create a Windows App SDK application in Visual Studio by using the Extensible Application Markup Language (XAML) and C#.
44
titleSuffix: ""
55
ms.custom: vs-acquisition
6-
ms.date: "04/27/2023"
6+
ms.date: 5/21/2024
77
ms.subservice: general-ide
88
ms.topic: tutorial
99
ms.devlang: csharp
@@ -23,6 +23,28 @@ In this introduction to the Visual Studio integrated development environment (ID
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

26+
::: moniker range=">=vs-2022"
27+
## Prerequisites
28+
29+
- You need Visual Studio to complete this tutorial.
30+
Visit the [Visual Studio downloads page](https://visualstudio.microsoft.com/vs/) for a free version.
31+
- Workloads and components required for developing with WinUI and the Windows App SDK. To verify or install a workload in Visual Studio, select **Tools** > **Get Tools and Features**. For more information, see [Change workloads or individual components](../../install/modify-visual-studio.md#change-workloads-or-individual-components).
32+
33+
On the **Workloads** tab of the Visual Studio Installer, select the following workloads and components:
34+
35+
### [Visual Studio 2022 version 17.10 and later](#tab/vs-2022-17-10)
36+
37+
* For **C#** app development using the Windows App SDK, select **Windows application development**.
38+
39+
### [Visual Studio 2022 version 17.1 - 17.9](#tab/vs-2022-17-1)
40+
41+
* For **C#** app development using the Windows App SDK, select **.NET Desktop Development**.
42+
* Then in the **Installation details** pane of the installation dialog box, select **Windows App SDK C# Templates** (near the bottom of the list).
43+
44+
---
45+
46+
::: moniker-end
47+
2648
## Create a project
2749

2850
First, create a WinUI 3 project. The project type comes with all the template files you need, before you've even added anything!
@@ -43,6 +65,7 @@ The Windows App SDK 1.1.x templates are available by installing a [Visual Studio
4365
> [Download Windows App SDK C# SDK VS2019 Templates](https://aka.ms/windowsappsdk/1.1/1.1.5/WindowsAppSDK.Cs.Extension.Dev16.vsix)
4466
4567
After the templates extension has been installed, you can create your first project. For more information about Visual Studio 2019 support, see [Install tools for the Windows App SDK](/windows/apps/windows-app-sdk/set-up-your-development-environment). The rest of this tutorial will assume you're using Visual Studio 2022.
68+
4669
::: moniker-end
4770

4871
1. Open Visual Studio, and on the start window, choose **Create a new project**.
@@ -51,9 +74,6 @@ After the templates extension has been installed, you can create your first proj
5174

5275
:::image type="content" source="media/vs-2022/winui-create-new-project.png" alt-text="Screenshot of the 'Create a new project' dialog with 'WinUI' entered in the search box, and the 'Blank App, Packaged (WinUI 3 in Desktop)' project template highlighted.":::
5376

54-
> [!NOTE]
55-
> If you don't see the **Blank App, Packaged (WinUI 3 in Desktop)** project template, click the **Install more tools and features** link.<br><br>:::image type="content" source="media/vs-2022/winui-not-finding.png" alt-text="Screenshot of the Create a new project window showing the 'Install more tools and features' link.":::<br><br>The Visual Studio Installer launches. Choose the **.NET Desktop Development** workload, then in the **Installation details** pane of the installation dialog box, select **Windows App SDK C# Templates** (at the bottom of the list). Now select **Modify**.<br><br>:::image type="content" source="media/vs-2022/winui-desktop-dev-workload.png" alt-text="Screenshot of the Visual Studio Installer showing the .NET Desktop Development workload.":::
56-
5777
1. Give the project a name, *HelloWorld*, and choose **Create**.
5878

5979
:::image type="content" source="media/vs-2022/winui-configure-your-project.png" alt-text="Screenshot of the 'Configure your new project' dialog with 'HelloWorld' entered in the Project name field.":::

docs/install/use-command-line-parameters-to-install-visual-studio.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use command-line parameters to install Visual Studio
33
titleSuffix: ''
44
description: Use command-line parameters with your Visual Studio installation and start the installation with preselected options or automate the installation and update process.
5-
ms.date: 03/11/2024
5+
ms.date: 05/20/2024
66
ms.topic: conceptual
77
f1_keywords:
88
- command-line parameters
@@ -185,8 +185,10 @@ Syntax examples:
185185
C:\>"C:\Program Files\Microsoft\Visual Studio\2022\Enterprise\vs_enterprise.exe" modifySettings --channelUri https://aka.ms/vs/17/release.LTSC.17.0/channel --productID Microsoft.VisualStudio.Product.Enterprise --newChannelUri \\layoutserver\share\path\channelmanifest.json --removeOos true --quiet
186186
```
187187

188+
::: moniker range="vs-2022"
189+
188190
## Rollback command and command-line parameters
189-
You can roll back the update programmatically by using the installer on the client machine, and passing in the rollback command alongside the installation path instance.
191+
Starting in Visual Studio 2022, you can [roll back an update](/troubleshoot/developer/visualstudio/installation/troubleshoot-installation-issues?toc=%2Fvisualstudio%2Ftoc.json#7-roll-back-to-a-previous-install-for-visual-studio-2022-only) programmatically by using the installer on the client machine and passing in the rollback command alongside the installation path instance.
190192

191193
| **Command** | **Description** |
192194
|-------------|-------------------------------------------------------------------------------------------------------------------------|
@@ -201,6 +203,8 @@ Syntax examples:
201203
```shell
202204
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" rollback -–installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
203205
```
206+
207+
::: moniker-end
204208

205209
## Administrator Update command and command-line parameters
206210

0 commit comments

Comments
 (0)