Skip to content

Commit 9da0be9

Browse files
committed
Merged main into live
2 parents c1c17a7 + 1cc2fb6 commit 9da0be9

File tree

121 files changed

+213
-196
lines changed

Some content is hidden

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

121 files changed

+213
-196
lines changed

docs/ide/copilot-chat-context.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Tips & Tricks for GitHub Copilot Chat in Visual Studio'
33
description: Use slash commands, references, and threads to form better questions and get better answers with scoped context in GitHub Copilot Chat.
4-
ms.date: 9/9/2024
4+
ms.date: 10/02/2024
55
ms.topic: how-to
66
author: anandmeg
77
ms.author: meghaanand
@@ -80,6 +80,10 @@ Use *@workspace* to refer to the solution active in the IDE for context. When us
8080

8181
:::image type="content" source="media/vs-2022/copilot-chat-context/copilot-chat-context-at-workspace.gif" alt-text="Screenshot of referencing solution context in Copilot Chat.":::
8282

83+
With Visual Studio 2022 version 17.11, [GitHub Copilot Enterprise](https://docs.github.com/en/enterprise-cloud@latest/copilot/about-github-copilot/subscription-plans-for-github-copilot) subscribers can now use `@github` in chat to include context from their entire repository and to search the web (if [search is enabled by your admin](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#give-copilot-access-to-bing)). To learn more about the collection of GitHub-specific skills that Copilot can use to answer your question when using `@github`, see [Using GitHub skills for Copilot](https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide?tool=visualstudio#using-github-skills-for-copilot-preview).
84+
85+
:::image type="content" source="media/vs-2022/copilot-chat-context/copilot-chat-context-at-github.png" alt-text="Screenshot of using GitHub skills in Copilot Chat.":::
86+
8387
### Usage examples
8488
Here are some examples of using references for context control:
8589

docs/ide/how-to-report-a-problem-with-visual-studio.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Here are the steps to report a problem.
4646
![Take a screenshot](../ide/media/feedback-screenshot.png)
4747
*Only Microsoft engineers can see the screenshot*
4848

49-
<a name="trace"></a>1. Record your actions to reproduce the issue.
49+
1. <a name="trace"></a> Record your actions to reproduce the issue.
5050

5151
One of the best ways to help the Visual Studio engineering team solve the problem is to provide a trace and heap dump files for them to look through. You can do that by recording the steps that resulted in the bug. A screenshot will be captured every time the mouse is clicked, but keyboard entry will not record screenshots.
5252
1. Click **Start recording**. Wait a moment for the permissions prompt.
@@ -59,12 +59,12 @@ Here are the steps to report a problem.
5959
> [!Warning]
6060
> There may be a several seconds delay between clicking **Start recording** and the prompt where Windows asks for permission to start a program with elevated permissions.
6161
62-
5. Review the attached files and upload additional files if you believe it would help diagnose the issue.
62+
1. Review the attached files and upload additional files if you believe it would help diagnose the issue.
6363

6464
![Attached files](../ide/media/feedback-attachments.png)
6565
*Only Microsoft engineers can see the attached files*
6666

67-
6. The last step is to hit the **Submit** button. Submitting the report will send it directly into the internal Visual Studio bug reporting system awaiting triage.
67+
1. The last step is to hit the **Submit** button. Submitting the report will send it directly into the internal Visual Studio bug reporting system awaiting triage.
6868

6969
Each one of your problem reports becomes a work item in our core engineering system, empowering you to engage directly with our product teams to help us identify and resolve impactful issues. Your feedback submitted with rich diagnostic information is critical to improving the Visual Studio product family. We really appreciate you taking the time to report problems.
7070

docs/ide/managing-application-settings-dotnet.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Manage application settings (.NET)
33
description: Manage application settings that aren't included in the application code but are needed at runtime with the Visual Studio IDE.
4-
ms.date: 06/20/2024
4+
ms.date: 10/02/2024
55
ms.topic: conceptual
66
f1_keywords:
77
- msvse_settingsdesigner.err.nameblank
@@ -109,6 +109,10 @@ Properties.Settings.Default.Save();
109109

110110
For general information about accessing application settings through the `Settings` class, see [Application settings overview (.NET Framework)](/dotnet/framework/winforms/advanced/application-settings-overview).
111111

112+
## Migrating apps from .NET Framework to .NET
113+
114+
.NET Framework uses the *app.config* file to load settings for your app, such as connection strings and log provider configuration. Modern .NET uses the *appsettings.json* file for app settings. To learn more about converting *app.config* files to *appsettings.json*, see [Modernize after upgrading to .NET from .NET Framework](/dotnet/core/porting/modernize#appconfig).
115+
112116
## Related content
113117

114118
- [Add an app.config file (C#)](how-to-add-app-config-file.md)
Loading

docs/ide/signing-in-to-visual-studio.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Sign in or switch Visual Studio accounts
33
titleSuffix: ""
44
description: Explore sign in concepts for working with Visual Studio, and find out how to sign in and how to add and switch user accounts.
5-
ms.date: 6/27/2024
5+
ms.date: 10/02/2024
66
ms.topic: how-to
77
author: anandmeg
88
ms.author: meghaanand
@@ -82,6 +82,8 @@ If you have multiple accounts, you can add them all to Visual Studio so that you
8282

8383
After you add multiple accounts on one machine, that group of accounts roams with you if you sign in to Visual Studio on another machine. However, your account credentials do not roam therefore you'll be prompted to enter credentials for those other accounts the first time you attempt to use their resources on a new machine.
8484

85+
To authenticate and access Azure resources from Visual Studio, sign in to Visual Studio with an account that has access to Azure resources and select this account for [Azure Service Authentication](/dotnet/api/overview/azure/service-to-service-authentication#authenticating-with-visual-studio) in **Tools** > **Options** > **Azure Service Authentication** > **Account Selection**.
86+
8587
There are several types of accounts you can add:
8688

8789
- Add a standard Visual Studio account:

docs/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install and use behind a firewall or proxy server
33
description: Review the domain URLs, ports, and protocols that you might want to add to an allowlist or open if your organization uses a firewall or a proxy server
4-
ms.date: 11/27/2023
4+
ms.date: 10/02/2024
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- network installation, Visual Studio
@@ -79,6 +79,9 @@ Because the Visual Studio Installer downloads files from various domains and the
7979

8080
## Use Visual Studio and Azure Services
8181

82+
> [!NOTE]
83+
> With [Visual Studio 17.8](/visualstudio/releases/2022/release-notes-v17.8), we've updated the configuration process for default proxy credentials in web requests. To activate default proxy credentials after this update, set the`VS_USE_DEFAULTPROXY` environment variable to `true`.
84+
8285
### URLs to add to an allowlist and ports and protocols to open
8386

8487
To make sure that you have access to everything you want when you use Visual Studio or Azure Services behind a firewall or proxy server, here are the URLs you should add to an allowlist and the ports and protocols that you might want to open.

docs/msbuild/errors/msb3270.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ MSB3270: There was a mismatch between the processor architecture of the project
2626

2727
## Possible causes
2828

29-
The message says that you are trying to use a dependency that is of an architecture that doesn't match the target architecture your project is configured for. You first need to confirm your target architectures are correct, and then make sure that all dependencies that are referenced match that target architecture.
30-
31-
In Visual Studio, you can use the Configuration Manager to control which architectures are built.
29+
The message says that you're trying to use a dependency that is of an architecture that doesn't match the target architecture your project is configured for. You first need to confirm your target architectures are correct, and then make sure that all dependencies that are referenced match that target architecture.
3230

3331
In MSBuild, the `PlatformTarget` property is used to define the target platform.
3432

@@ -41,6 +39,10 @@ Setting the MSBuild property `ResolveAssemblyWarnOrErrorOnTargetArchitectureMism
4139
</PropertyGroup>
4240
```
4341

42+
In Visual Studio, the current platform is set in the menu bar in the IDE, to the right of the **Configuration** dropdown and to the left of the green **Start** button. The current target platform is usually set at the solution level to control the builds for every project. If you need to view or change the platforms for the solution, see [Configure projects to target platforms](../../ide/how-to-configure-projects-to-target-platforms.md).
43+
44+
The platform for an individual project can also be viewed and configured in the **Project Properties**. You can right-click on the project node, choose **Properties**, or press **Alt**+**Enter** to open the project properties editor. For C# projects, expand the **Build** tab, and find the **Platform target** setting. For .NET Framework and all Visual Basic projects, choose the **Compile** tab and find **Target CPU**.
45+
4446
## See also
4547

4648
- [MSBuild target framework and target platform](../msbuild-target-framework-and-target-platform.md)

docs/msbuild/errors/msb4025.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ ms.subservice: msbuild
1818
---
1919
# MSB4025
2020

21-
This error occurs when MSBuild tries to load and parse a project, but the project file or MSBuild import file could not be loaded. The file must be an XML MSBuild file, such as a validly formatted project file, `.props` file, or `.targets` file, or a file with any other extension that contains XML that is intended to be interpreted by MSBuild.
21+
This error occurs when MSBuild tries to load and parse a project, but the project file or MSBuild import file could not be loaded. The file must be an XML MSBuild file, such as a validly formatted project file, `.props` file, or `.targets` file, or a file with any other extension that contains XML that is intended for MSBuild to interpret.
2222

2323
The message resembles the following, but this text might be followed by additional information:
2424

2525
```output
26-
MSB4024: The imported project file 'filename' could not be loaded.
26+
MSB4024: The imported project file could not be loaded.
2727
```
2828

29-
Look to the additional information provided to determine the cause of the problem. Typical causes include the project file is missing, has an incorrect path, or is misspelled; unauthorized access; XML parsing errors in the project file; or it's open and locked by another program.
29+
If it's not obvious what imported file caused the problem, rerun the build with full diagnostic logs (use the `-verbosity:diag` command-line switch), and check the MSBuild log file. For bigger output logs on large projects, consider using the binary log (`-bl` command-line switch) and the [MSBuild Structured Log Viewer](https://msbuildlog.com/) to view the output more easily.
30+
31+
Look to the additional information provided to determine the cause of the problem. Typical causes include the project file is missing, has an incorrect path, or is misspelled; unauthorized access; XML parsing errors in the project file; or it's open and locked by another program.

subscriptions/faq/admin/benefits/includes/activate-subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How do my end users activate their Visual Studio Subscription?
33
description: The subscription is active and can be used as soon as it has been assigned from within the Visual Studio Administrator portal.
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group2_1
66
ms.topic: include
77
ms.assetid: 1530ca0a-f23f-44f1-9bde-792ea1265085

subscriptions/faq/admin/benefits/includes/activate-with-product-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How do my developers activate software using product keys from their Visual Studio subscription?
33
description: Depending on what product your subscriber has downloaded it can either be activated by logging in using the email address tied to the...
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group2_4
66
ms.topic: include
77
ms.assetid: 248726b6-1e50-481c-aabf-0f509da5d710

subscriptions/faq/admin/benefits/includes/available-benefits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: What benefits and software is available to my subscriber once a Visual Studio subscription has been assigned?
33
description: The Visual Studio Subscription benefits page allows you to see and compare the full list of benefits and software downloads included...
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group2_2
66
ms.topic: include
77
ms.assetid: e8b196c2-6118-47d1-8363-ceae3d9b6fb2

subscriptions/faq/admin/benefits/includes/azure-dev-test-discount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How do my developers get 50% off Azure Dev/Test workloads?
33
description: If your organization has an Enterprise Agreement for Azure, your developers can choose...
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group2_5
66
ms.topic: include
77
ms.assetid: 86308cf3-909b-47a0-9230-5d1a93a2f87a

subscriptions/faq/admin/benefits/includes/download-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How do my developers download Visual Studio?
33
description: Learn how developers can download Visual Studio using Visual Studio subscriptions
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group2_3
66
ms.topic: include
77
ms.assetid: ee7e5ba2-a4b5-4db0-bd05-583dca51c75e

subscriptions/faq/admin/managing/includes/assign-subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How do I assign Visual Studio subscriptions?
33
description: You can assign subscriptions to your end users one at a time, or using the Bulk add feature to quickly and easily upload a larger...
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group1_3
66
ms.topic: include
77
ms.assetid: 59eb35fd-ec94-41ce-b24c-a8a120976bac

subscriptions/faq/admin/managing/includes/email-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: What is the difference between a Sign-in email address and a Notification email address?
33
description: Individuals who are assigned a subscription receive periodic communications from the Visual Studio team, including an email...
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group1_5
66
ms.topic: include
77
ms.assetid: 3b7b2932-3274-4275-9d80-b28406bcefc4

subscriptions/faq/admin/managing/includes/github-assign-process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: What is the GitHub setup process?
33
description: How do GitHub Enterprise subscriptions get assigned to Visual Studio subscribers?
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group1_4
66
ms.topic: include
77
ms.assetid: e45ac76b-3ab1-45cf-a680-488f65e7e84f

subscriptions/faq/admin/managing/includes/incorrect-subscription-quantity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Why is the portal not showing the correct number of Visual Studio subscriptions for my agreement?
33
description: If you're not seeing the correct number of subscriptions for your agreement, you may have the wrong agreement selected in the...
4-
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Evan Windom and Larissa Crawford of Red Door Collaborative and Sharvari Dighe.
4+
comment: As of August 2023 this include is used to render marketing FAQ content for VS Subscriptions in the following portals - VSCom, Manage, and My portals. It was not used for learn.microsoft.com content at that time. SMEs are Jose Becerra and Larissa Crawford of Red Door Collaborative and Angela Cao-Hong.
55
ms.faqid: group1_7
66
ms.topic: include
77
ms.assetid: d97a767b-148d-488d-a860-778f406d8207

0 commit comments

Comments
 (0)