Skip to content

Commit 1aac3f6

Browse files
authored
Merge branch 'main' into copilot-agent
2 parents b35c53e + 1d650f6 commit 1aac3f6

File tree

144 files changed

+1452
-1951
lines changed

Some content is hidden

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

144 files changed

+1452
-1951
lines changed

.github/workflows/whats-new.yml

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

.openpublishing.redirection.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,6 +1590,26 @@
15901590
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/data-tools/walkthrough-creating-a-wcf-data-service-with-wpf-and-entity-framework",
15911591
"redirect_document_id": false
15921592
},
1593+
{
1594+
"source_path": "docs/ide/reference/signing-page-project-designer.md",
1595+
"redirect_url": "/visualstudio/ide/how-to-sign-application-and-deployment-manifests",
1596+
"redirect_document_id": false
1597+
},
1598+
{
1599+
"source_path": "docs/ide/reference/advanced-security-settings-dialog-box.md",
1600+
"redirect_url": "/visualstudio/deployment/how-to-enable-clickonce-security-settings",
1601+
"redirect_document_id": false
1602+
},
1603+
{
1604+
"source_path": "docs/ide/reference/publish-page-project-designer.md",
1605+
"redirect_url": "/visualstudio/deployment/how-to-specify-where-visual-studio-copies-the-files",
1606+
"redirect_document_id": false
1607+
},
1608+
{
1609+
"source_path": "docs/ide/reference/prerequisites-dialog-box.md",
1610+
"redirect_url": "/visualstudio/deployment/how-to-install-prerequisites-with-a-clickonce-application",
1611+
"redirect_document_id": false
1612+
},
15931613
{
15941614
"source_path": "docs/deployment/how-to-enable-autostart-for-cd-installations.md",
15951615
"redirect_url": "/visualstudio/deployment/how-to-specify-where-visual-studio-copies-the-files",
@@ -8108,6 +8128,46 @@
81088128
"redirect_url": "/visualstudio/get-started/csharp/tutorial-windows-forms-math-quiz-customize-ui",
81098129
"redirect_document_id": false
81108130
},
8131+
{
8132+
"source_path": "docs/ide/reference/code-analysis-project-designer.md",
8133+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/code-analysis-project-designer",
8134+
"redirect_document_id": false
8135+
},
8136+
{
8137+
"source_path": "docs/ide/reference/property-pages-javascript.md",
8138+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/property-pages-javascript",
8139+
"redirect_document_id": false
8140+
},
8141+
{
8142+
"source_path": "docs/ide/reference/file-properties-javascript.md",
8143+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/file-properties-javascript",
8144+
"redirect_document_id": false
8145+
},
8146+
{
8147+
"source_path": "docs/ide/reference/options-text-editor-javascript-formatting.md",
8148+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-formatting",
8149+
"redirect_document_id": false
8150+
},
8151+
{
8152+
"source_path": "docs/ide/reference/options-text-editor-javascript-code-validation.md",
8153+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-code-validation",
8154+
"redirect_document_id": false
8155+
},
8156+
{
8157+
"source_path": "docs/ide/reference/options-text-editor-javascript-intellisense.md",
8158+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-intellisense",
8159+
"redirect_document_id": false
8160+
},
8161+
{
8162+
"source_path": "docs/ide/reference/options-text-editor-javascript-project.md",
8163+
"redirect_url": "/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-project",
8164+
"redirect_document_id": false
8165+
},
8166+
{
8167+
"source_path": "docs/ide/reference/options-text-editor-javascript-linting.md",
8168+
"redirect_url": "/visualstudio/javascript/linting-javascript",
8169+
"redirect_document_id": false
8170+
},
81118171
{
81128172
"source_path": "docs/ide/quickstart-nodejs.md",
81138173
"redirect_url": "/visualstudio/javascript/tutorial-nodejs",

.openpublishing.redirection.subscriptions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
"source_path": "subscriptions/microsoft-dev-box.md",
2020
"redirect_url": "/visualstudio/subscriptions",
2121
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "subscriptions/vs-whitesource.md",
25+
"redirect_url": "/visualstudio/subscriptions",
26+
"redirect_document_id": false
27+
},
28+
{
29+
"source_path": "subscriptions/handle-expired-license.md",
30+
"redirect_url": "/visualstudio/subscriptions",
31+
"redirect_document_id": false
2232
}
2333
]
2434
}

docs/azure/azure-deployment-using-github-actions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ These steps are appropriate if you have more than one project that uses Docker c
9898

9999
If you choose to create a new one, you see this screen. Provide the resource group, SKU, and choose the same region, if possible, as before. For information about the SKUs for Azure Container Registry, see [Azure Container Registry service tiers](/azure/container-registry/container-registry-skus).
100100

101-
![Screenshot showing a new Azure container registry that was just created.](./media/azure-deployment-using-github-actions/github-actions-create-azure-container-registry.png)
101+
![Screenshot showing a new Azure Container Registry that was just created.](./media/azure-deployment-using-github-actions/github-actions-create-azure-container-registry.png)
102102

103103
Once created, the new registry shows on the screen.
104104

105-
![Screenshot showing creating a new Azure container registry.](./media/azure-deployment-using-github-actions/github-actions-created-azure-container-registry.png)
105+
![Screenshot showing creating a new Azure Container Registry.](./media/azure-deployment-using-github-actions/github-actions-created-azure-container-registry.png)
106106

107107
1. The deployable projects in your solution are displayed; choose the projects you want to deploy together in the same Azure Container Apps instance.
108108

@@ -140,7 +140,7 @@ WebApi_buildImageAndDeploy:
140140
registry: ${{ env.CONTAINER_REGISTRY_LOGIN_SERVER }}
141141
username: ${{ secrets.registry20230810121555_USERNAME_6891 }}
142142
password: ${{ secrets.registry20230810121555_PASSWORD_6891 }}
143-
- name: Build and push Docker image to Azure container registry
143+
- name: Build and push Docker image to Azure Container Registry
144144
uses: docker/build-push-action@v4
145145
with:
146146
push: true
@@ -173,7 +173,7 @@ WebFrontEnd_buildImageAndDeploy:
173173
registry: ${{ env.CONTAINER_REGISTRY_LOGIN_SERVER }}
174174
username: ${{ secrets.registry20230810121555_USERNAME_2047 }}
175175
password: ${{ secrets.registry20230810121555_PASSWORD_2047 }}
176-
- name: Build and push Docker image to Azure container registry
176+
- name: Build and push Docker image to Azure Container Registry
177177
uses: docker/build-push-action@v4
178178
with:
179179
push: true
@@ -210,7 +210,7 @@ DOCKER_FILEPATH_WEBFRONTEND: docker/ComposeSample/WebFrontend/Dockerfile
210210
Use the values of these environment variables for the `file` parameter as follows:
211211

212212
```yml
213-
- name: Build and push Docker image to Azure container registry
213+
- name: Build and push Docker image to Azure Container Registry
214214
uses: docker/build-push-action@v4
215215
with:
216216
push: true

docs/azure/end-to-end-deployment-entity-framework-core-github-actions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ If you've already installed Visual Studio:
2424
- Install the latest updates in Visual Studio by selecting **Help** > **Check for Updates**.
2525
- Verify the **ASP.NET and web development** and **Azure development** workloads are installed by selecting **Tools** > **Get Tools and Features**.
2626

27+
> [!WARNING]
28+
> This article makes use of connection strings. Use caution when managing connections using usernames, passwords, or access keys. These secrets shouldn't be committed to source control or placed in unsecure locations where they might be accessed by unintended users. During local development, you'll generally connect to a local database that doesn't require storing secrets or connecting directly to Azure. During production, [connect to your Azure SQL database using a secretless approach](/azure/azure-sql/database/azure-sql-dotnet-entity-framework-core-quickstart) such as [Microsoft Entra ID](/entra/fundamentals/whatis) when possible.
29+
2730
## Set up the sample app locally
2831

2932
Use the TODO sample app to follow along with this tutorial. Clone the app from GitHub using the following command:
@@ -115,7 +118,7 @@ The publishing features of Visual Studio can handle creating these resources for
115118
- Select **Ok** to close the container apps environment dialog.
116119
- Select **Create** to close the original container apps dialog. Visual Studio creates the container app resource in Azure.
117120
1. Once the resource is created, make sure it's selected in the list of container apps, and then select **Next**.
118-
1. You'll need to create an Azure container registry to store the published image artifact for your app. Select the green **+** icon on the **Container Registry** screen.
121+
1. You'll need to create an Azure Container Registry to store the published image artifact for your app. Select the green **+** icon on the **Container Registry** screen.
119122

120123
:::image type="content" source="./media/end-to-end-deployment-entity-framework-core-github-actions/visual-studio-container-registry.png" lightbox="./media/end-to-end-deployment-entity-framework-core-github-actions/visual-studio-container-registry-large.png" alt-text="A screenshot showing how to create a new container registry.":::
121124

docs/code-quality/migrate-from-legacy-analysis-to-net-analyzers.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Migrate from FxCop to source analysis (.NET)
33
description: Analyze code for the first time or migrate your process from binary analysis (FxCop code analysis) to .NET analyzers for source analysis.
4-
ms.date: 09/17/2021
4+
ms.date: 04/30/2025
55
ms.topic: conceptual
66
f1_keywords:
77
- "vs.projectpropertypages.codeanalysis"
@@ -50,6 +50,8 @@ To learn more about how to configure the .NET analyzers:
5050

5151
- To find out about configuring analyzers using predefined rules with EditorConfig or a rule set file, see [Enable a category of rules](/dotnet/fundamentals/code-analysis/code-quality-rule-options).
5252

53+
- To migrate from rule set files to EditorConfig, see [Convert an existing rule set file to an EditorConfig file](../code-quality/use-roslyn-analyzers.md#convert-an-existing-rule-set-file-to-an-editorconfig-file).
54+
5355
## Related content
5456

5557
- [Migrate from FxCop analyzers to .NET analyzers](migrate-from-fxcop-analyzers-to-net-analyzers.md)

docs/code-quality/roslyn-analyzers-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Analyzers are divided into the following groups:
2424

2525
- [Code style analyzers](/dotnet/fundamentals/code-analysis/code-style-rule-options?preserve-view=true&view=vs-2019#convention-categories)
2626

27-
These analyzers are built into Visual Studio. The analyzer's diagnostic ID, or code format is IDExxxx, for example, IDE0001. You can configure preferences in the [text editor options page](../ide/code-styles-and-code-cleanup.md#code-styles-in-the-options-dialog-box) or in an [EditorConfig file](../ide/create-portable-custom-editor-options.md). Starting in .NET 5.0, code style analyzers are included with the .NET SDK and can be strictly enforced as build warnings or errors. For more information, see [Overview of .NET source code analysis](/dotnet/fundamentals/productivity/code-analysis).
27+
These analyzers are built into Visual Studio. The analyzer's diagnostic ID, or code format is IDExxxx, for example, IDE0001. You can configure preferences in the [text editor options page](../ide/code-styles-and-code-cleanup.md#net-code-styles-in-the-options-dialog-box) or in an [EditorConfig file](../ide/create-portable-custom-editor-options.md). Starting in .NET 5.0, code style analyzers are included with the .NET SDK and can be strictly enforced as build warnings or errors. For more information, see [Overview of .NET source code analysis](/dotnet/fundamentals/productivity/code-analysis).
2828

2929
- [Code quality analyzers](/dotnet/fundamentals/code-analysis/overview#code-quality-analysis)
3030

docs/code-quality/use-roslyn-analyzers.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ helpviewer_keywords:
1010
- code analysis, managed code
1111
- analyzers
1212
- Roslyn analyzers
13-
ms.date: 04/04/2024
13+
ms.date: 04/30/2025
1414
---
1515

1616
# Customize Roslyn analyzer rules
@@ -265,7 +265,7 @@ When you convert your existing rule set file to an EditorConfig file, save it at
265265
You can convert an existing rule set file to an EditorConfig file by using either the rule set editor or the command line.
266266

267267
> [!NOTE]
268-
> .NET Core and .NET Standard projects don't support the menu commands for rule sets in Solution Explorer, for example, **Open Active Rule Set**. To specify a non-default rule set for a .NET Core or .NET Standard project, manually [add the **CodeAnalysisRuleSet** property](using-rule-sets-to-group-code-analysis-rules.md#specify-a-rule-set-for-a-project) to the project file. You can still configure the rules within the rule set in the rule set editor.
268+
> .NET Core and .NET 5+ projects don't support the menu commands for rule sets in Solution Explorer, for example, **Open Active Rule Set**. To specify a non-default rule set for a .NET Core or a .NET 5+ project, manually [add the **CodeAnalysisRuleSet** property](using-rule-sets-to-group-code-analysis-rules.md#specify-a-rule-set-for-a-project) to the project file. You can still configure the rules within the rule set in the rule set editor.
269269
270270
To use the rule set editor, follow these steps. If your project already uses a specific rule set file for its `CodeAnalysisRuleSet` property value, you can convert it to an equivalent EditorConfig file from the rule set editor:
271271

@@ -281,6 +281,11 @@ To use the rule set editor, follow these steps. If your project already uses a s
281281

282282
The generated EditorConfig opens in the editor. Additionally, the MSBuild property `CodeAnalysisRuleSet` is updated in the project file so that it no longer references the original rule set file.
283283

284+
The original rule set file can be removed from the project.
285+
286+
> [!NOTE]
287+
> In a .NET Framework project, the default rule set file can't be migrated or removed from the project.
288+
284289
To use the command line, follow these steps:
285290

286291
1. Install the NuGet package [Microsoft.CodeAnalysis.RulesetToEditorconfigConverter](https://www.nuget.org/packages/Microsoft.CodeAnalysis.RulesetToEditorconfigConverter).

0 commit comments

Comments
 (0)