Skip to content

Commit b511dde

Browse files
committed
Merged main into live
2 parents f5ef6e3 + ad5a21e commit b511dde

File tree

71 files changed

+144
-101
lines changed

Some content is hidden

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

71 files changed

+144
-101
lines changed
Binary file not shown.

docs/debugger/remote-debugging-azure-app-service.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This article describes how to attach the Visual Studio debugger to an ASP.NET Co
2525

2626
## Enable remote debugging
2727

28-
Before you can debug this issue with Visual Studio, you must enable the remote debugging feature on the App Service. This setting will allow the Visual Studio debugger to connect to the main App Service web hosting process.
28+
Before you can debug this issue with Visual Studio, you must enable the remote debugging feature on the App Service. This setting allows the Visual Studio debugger to connect to the main App Service web hosting process.
2929

3030
1. Sign into your own [Azure portal](https://portal.azure.com/).
3131

@@ -45,16 +45,14 @@ Your app service instance now supports remote debugging through Visual Studio.
4545

4646
## Configure debugging settings
4747

48-
Make sure you have completed the following steps in Visual Studio before debugging an app in Azure to ensure success.
49-
50-
1. First, make sure you have successfully built your project at least one time. A successful build ensures the source code and any necessary compiled files are ready to go. If your application is running locally, make sure to stop the app.
48+
1. Build your app without errors. Stop your app if it's running locally.
5149

5250
> [!NOTE]
5351
> Make sure the state of your local code matches what was deployed to Azure. This ensures that the local symbol files and source code line up with the deployed app.
5452
5553
1. Select **Debug > Options** from the top Visual Studio menu. Ensure that **Enable Just My code** is *unchecked* (as shown below), and then select **OK**.
5654

57-
Changing this setting allows Visual Studio to debug the optimized code that was deployed to Azure using the necessary symbol files from your local bin folder. Symbol files are used by the debugger as a bridge between compiled, executing code and the source code in Visual Studio, which is why it's important that your local source code matched the deploy app.
55+
Changing this setting allows Visual Studio to debug the optimized code that was deployed to Azure using the necessary symbol files from your local bin folder. Symbol files are used by the debugger as a bridge between compiled, executing code and the source code in Visual Studio. Matching symbol files are required for remote debugging.
5856

5957
:::image type="content" source="../debugger/media/vs-2022/visual-studio-remote-debug-settings.png" alt-text="A screenshot of the Visual Studio debugging settings.":::
6058

@@ -70,14 +68,17 @@ Make sure you have completed the following steps in Visual Studio before debuggi
7068

7169
1. Locate and select the App Service instance you created in the previous step, and then choose **OK**.
7270

73-
1. The `w3wp.exe` process should appear in the list of available processes to connect to, which is the main process of the Azure App Service that hosts the deployed application. Select that process and then choose **Attach** in the bottom right to connect the Visual Studio debugger.
71+
1. The `w3wp.exe` process should appear in the list of available processes to connect to. `w3wp.exe` is the main process of the Azure App Service that hosts the deployed application. Select the `w3wp.exe` process and then choose **Attach** in the bottom right.
7472

7573
:::image type="content" source="../debugger/media/vs-2022/visual-studio-remote-debug-attach-to-process.png" alt-text="A screenshot of the attach to process features." lightbox="../debugger/media/vs-2022/visual-studio-remote-debug-attach-to-process.png":::
7674

77-
1. In a C# application file such as `Index.cshtml.cs`, set a breakpoint by clicking in the left margin. (Or, right-click and choose **Breakpoint** > **Insert breakpoint**.)
75+
1. In a C# application file such as `Index.cshtml.cs`, set a breakpoint by clicking in the left margin. Alternatively, right-click and choose **Breakpoint** > **Insert breakpoint**.
7876

79-
1. Take action in the web app to hit the breakpoint. If you're attached to the process but can't hit the breakpoint, make sure your publish profile in Visual Studio is set to a Debug configuration instead of a Release configuration.
77+
1. In the web app, navigate to the endpoint with the breakpoint. If you're attached to the process but can't hit the breakpoint, make sure your publish profile in Visual Studio is set to a Debug configuration instead of a Release configuration.
8078

81-
1. (Optional) you can also verify that Visual Studio has loaded the symbol files for your debugging session. Navigate to **Debug > Windows > Modules** to open the modules window. This window should indicate that the symbol files were successfully loaded after the **Just my code** configuration changes you made earlier.
79+
1. Optional: To verify that Visual Studio has loaded the symbol files for your debugging session. Navigate to **Debug > Windows > Modules** to open the modules window. This window indicates that the symbol files were successfully loaded after the **Just my code** configuration changes you made earlier.
8280

8381
:::image type="content" source="../debugger/media/vs-2022/visual-studio-symbol-files.png" alt-text="A screenshot of the symbol files window.":::
82+
83+
> [!NOTE]
84+
> For subsequent debugging of the app service, select the select **Debug** > **Reattach to w3wp.exe** or use the Shift+Alt+P hot keys.

docs/extensibility/dotnet-sign-cli-reference-vsix.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,37 +159,37 @@ dotnet tool install --global --add-source <path-to-folder> <tool-name> --version
159159
- Sign *contoso.vsix* with a certificate imported to the **user** certificate store:
160160

161161
```dotnetcli
162-
sign contoso.vsix -cfp 24D589...FB9523B36E -d "Constoso VSIX Signature" -u "http://www.contoso.com"
162+
sign code certificate-store contoso.vsix -cfp 24D589...FB9523B36E -d "Constoso VSIX Signature" -u "http://www.contoso.com"
163163
```
164164

165165
- Sign *contoso.vsix* with certificate *cert.pfx* (not password protected) using a SHA-512 fingerprint:
166166

167167
```dotnetcli
168-
sign contoso.vsix -cfp A87A6F...894559B981 -cfpa sha512 -cf D:\certificates\cert.pfx -d "Constoso VSIX Signature" -u "http://www.contoso.com"
168+
sign code certificate-store contoso.vsix -cfp A87A6F...894559B981 -cfpa sha512 -cf D:\certificates\cert.pfx -d "Constoso VSIX Signature" -u "http://www.contoso.com"
169169
```
170170

171171
- Sign *contoso.vsix* with certificate *cert.pfx* (password protected):
172172

173173
```dotnetcli
174-
sign contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -cf cert.pfx -p <password> -d "Constoso VSIX Signature" -u "http://www.contoso.com"
174+
sign code certificate-store contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -cf cert.pfx -p <password> -d "Constoso VSIX Signature" -u "http://www.contoso.com"
175175
```
176176

177177
- Sign multiple VSIX packages - *contoso.vsix* and *all .vsix files in the directory specified* with certificate *cert.pfx* (not password protected):
178178

179179
```dotnetcli
180-
sign *.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -cf cert.pfx -d "Constoso VSIX Signature" -u "http://www.contoso.com"
180+
sign code certificate-store *.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -cf cert.pfx -d "Constoso VSIX Signature" -u "http://www.contoso.com"
181181
```
182182

183183
- Sign *contoso.vsix* with a certificate stored in a secure USB drive.
184184

185185
```dotnetcli
186-
sign contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -csp "Microsoft Software Key Storage Provider" -k "NuGetSigning 0B2D249223B36D00A7DF07FB95E24D58" -d "Constoso VSIX Signature" -u "http://www.contoso.com"
186+
sign code certificate-store contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -csp "Microsoft Software Key Storage Provider" -k "NuGetSigning 0B2D249223B36D00A7DF07FB95E24D58" -d "Constoso VSIX Signature" -u "http://www.contoso.com"
187187
```
188188

189189
- Sign *contoso.vsix* with a certificate stored in a secure USB drive and accessed from the **machine** certificate store (-km option).
190190

191191
```dotnetcli
192-
sign contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -csp "Microsoft Software Key Storage Provider" -k "NuGetSigning 0B2D249223B36D00A7DF07FB95E24D58" -km -d "Constoso VSIX Signature" -u "http://www.contoso.com"
192+
sign code certificate-store contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -csp "Microsoft Software Key Storage Provider" -k "NuGetSigning 0B2D249223B36D00A7DF07FB95E24D58" -km -d "Constoso VSIX Signature" -u "http://www.contoso.com"
193193
```
194194

195195
> [!NOTE]
@@ -198,5 +198,5 @@ dotnet tool install --global --add-source <path-to-folder> <tool-name> --version
198198
- Sign *contoso.vsix* with a certificate stored in a secure USB drive specifying file digest algorithm (-fd), timestamp server (-t), and a custom output path (-o) for the signed VSIX.
199199

200200
```dotnetcli
201-
sign contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -csp "Microsoft Software Key Storage Provider" -k "NuGetSigning 0B2D249223B36D00A7DF07FB95E24D58" -d "Constoso VSIX Signature" -u "http://www.contoso.com" -t "http://timestamp.acs.microsoft.com/" -fd sha256 -o "ContosoSigned.vsix"
201+
sign code certificate-store contoso.vsix -s 24D58920B2D24D00A7DF07FB9523B36E -csp "Microsoft Software Key Storage Provider" -k "NuGetSigning 0B2D249223B36D00A7DF07FB95E24D58" -d "Constoso VSIX Signature" -u "http://www.contoso.com" -t "http://timestamp.acs.microsoft.com/" -fd sha256 -o "ContosoSigned.vsix"
202202
```

docs/ide/dotfuscator/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ See [the full Dotfuscator Community User Guide at preemptive.com][full] for deta
383383
[attributes-checks]: https://www.preemptive.com/dotfuscator/ce/docs/help/attributes_checks.html
384384
[attributes-obfuscation]: https://www.preemptive.com/dotfuscator/ce/docs/help/attributes_obfuscation.html
385385

386-
[verbosity]: ../how-to-view-save-and-configure-build-log-files.md#to-change-the-amount-of-information-included-in-the-build-log
386+
[verbosity]: ../how-to-view-save-and-configure-build-log-files.md#specify-data-verbosity-for-build-logs
387387
[dotnet-attributes]: /dotnet/standard/attributes
388388
[application-insights]: /azure/azure-monitor/app/app-insights-overview
389389
[nuget-org]: https://www.nuget.org/

docs/ide/how-to-locate-and-organize-project-and-item-templates.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Locate and organize project templates
3-
description: Locate and organize project templates, including installed templates and user templates (.vstemplate files), in Visual Studio.
4-
ms.date: 11/15/2022
5-
ms.topic: how-to
3+
description: Locate and organize project and item templates in Visual Studio, including installed templates and user templates (.vstemplate files).
4+
ms.date: 08/21/2024
5+
ms.topic: concept-article
66
helpviewer_keywords:
77
- project templates [Visual Studio], locations
88
- item templates [Visual Studio], locations
@@ -11,18 +11,21 @@ author: ghogen
1111
ms.author: ghogen
1212
manager: mijacobs
1313
ms.subservice: general-ide
14+
15+
#customer intent: As a developer, I want to locate and organize project and item templates in Visual Studio, so I can easily access them to create code for new projects and items.
1416
---
17+
1518
# Locate and organize project and item templates
1619

17-
Template files must be placed in a known location in order for them to be shown in the new project and new item dialog boxes..
20+
When template files are placed in a known location, Visual Studio can locate the files and make them available for creating new projects and new items. Templates provide a convenient way to create applications, access class libraries, implement unit tests, and set up configuration files.
1821

19-
## Locate templates
22+
Installed templates and user templates (*.vstemplate* files) are stored in different locations. You can also customize the locations with Visual Studio options.
2023

21-
Installed templates and user templates are stored in two different locations.
24+
This article describes the template file locations recognized by Visual Studio.
2225

23-
### Installed templates
26+
## Location for installed templates
2427

25-
By default, templates installed with Visual Studio are located in:
28+
By default, templates installed with Visual Studio are placed in the following locations:
2629

2730
::: moniker range="vs-2019"
2831

@@ -35,7 +38,6 @@ For example, the following directory has the Visual Basic item templates for Eng
3538
*C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\ItemTemplates\\VisualBasic\\1033*
3639

3740
::: moniker-end
38-
3941
::: moniker range="vs-2022"
4042

4143
- *%ProgramFiles%\\Microsoft Visual Studio\\2022\\\<edition>\\Common7\IDE\ProjectTemplates\\<Language\>\\<Locale ID\>*
@@ -48,9 +50,9 @@ For example, the following directory has the Visual Basic item templates for Eng
4850

4951
::: moniker-end
5052

51-
### User templates
53+
## Location for user templates
5254

53-
If you add a compressed (*.zip*) file that includes a *.vstemplate* file to the user template directory, the template appears in the new project and new item dialog boxes. By default, user templates are located in:
55+
When you add a compressed (*.zip*) file that includes a *.vstemplate* file to the user template directory, Visual Studio makes the template available in the **New project** and **New item** dialogs. By default, user templates are placed in the following locations:
5456

5557
::: moniker range="vs-2019"
5658

@@ -76,18 +78,12 @@ For example, the following directory has user project templates for C#:
7678

7779
::: moniker-end
7880

79-
> [!TIP]
80-
> You can change the known location for user templates in **Tools** > **Options** > **Projects and Solutions** > **Locations**.
81-
82-
## Next steps
83-
84-
To learn more about .NET SDK templates and their locations, reference the following articles.
81+
### Change location for user templates
8582

86-
|Article |Description |
87-
|---------|---------|
88-
|[.NET default templates](/dotnet/core/tools/dotnet-new-sdk-templates) | When you install the .NET SDK, you receive over a dozen built-in templates for creating projects and files, including console apps, class libraries, unit test projects, ASP.NET Core apps (including Angular and React projects), and configuration files. This article lists the templates that come pre-installed with the .NET SDK and describes how to interact with them. |
89-
|[Manage .NET project and item templates](/dotnet/core/install/templates?pivots=os-windows&preserve-view=true) | .NET provides a template system that enables users to install or uninstall packages containing templates from NuGet, a NuGet package file, or a file system directory. This article describes how to manage .NET templates through the .NET SDK CLI. |
83+
You can change the location for user templates in Visual Studio with the **Tools** > **Options** dialog. The location settings are on the **Projects and Solutions** > **Locations** page.
9084

9185
## Related content
9286

93-
- [Visual Studio template schema reference (extensibility)](../extensibility/visual-studio-template-schema-reference.md)
87+
- Review the [Visual Studio template schema reference (extensibility)](../extensibility/visual-studio-template-schema-reference.md)
88+
- Use [prebuilt templates installed with the .NET SDK](/dotnet/core/tools/dotnet-new-sdk-templates)
89+
- [Manage .NET project and item templates with the .NET SDK CLI](/dotnet/core/install/templates?pivots=os-windows&preserve-view=true)

0 commit comments

Comments
 (0)