Skip to content

Repo sync for protected branch #10431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
081a3c0
updates
anandmeg Sep 27, 2024
725265c
Fix list numbering and indentation
ghogen Oct 1, 2024
a0ef3d3
Add a lot more information about platform settings
ghogen Oct 2, 2024
30e7c9c
Update docs/msbuild/errors/msb3270.md
ghogen Oct 2, 2024
70a96e0
Add proxy change related note
anandmeg Oct 2, 2024
36b8fd7
Fix note
anandmeg Oct 2, 2024
c58f554
Merge pull request #13193 from anandmeg/proxy-update
prmerger-automator[bot] Oct 2, 2024
f5da1ea
Author and date update
JoseB-RDC Oct 2, 2024
2e1d92f
Merge pull request #13185 from MicrosoftDocs/ghogen-patch-76
prmerger-automator[bot] Oct 2, 2024
95b9f7f
Update docs/msbuild/errors/msb3270.md
ghogen Oct 2, 2024
507622d
Update subscriptions/solutions/benefit-activation/includes/unable-to-…
JoseB-RDC Oct 2, 2024
d28fc77
Update subscriptions/solutions/benefit-activation/includes/unable-to-…
JoseB-RDC Oct 2, 2024
140dd46
Merge pull request #13194 from rigel512/Authorupdate-32
prmerger-automator[bot] Oct 2, 2024
a8a3555
Add info on GitHub skills
anandmeg Oct 2, 2024
6afc8fa
Updates to metadata and author
JoseB-RDC Oct 2, 2024
0d64bbb
Updates
anandmeg Oct 2, 2024
60ae739
Merge pull request #13195 from anandmeg/copilot-update1
Oct 2, 2024
7d9b43f
Merge pull request #13197 from rigel512/Authorupdate-34
Oct 2, 2024
7fad113
recommend diagnostic logs
ghogen Oct 2, 2024
fdf62d6
Add info on appsettings.json
anandmeg Oct 2, 2024
077e265
Acrolinx
ghogen Oct 2, 2024
ea5b8de
Merge branch 'msbuild-error-feedback' of github.com:ghogen/vsdocs int…
ghogen Oct 2, 2024
281c5b5
More Acrolinx
ghogen Oct 2, 2024
af8aed6
Merge pull request #13190 from ghogen/msbuild-error-feedback
prmerger-automator[bot] Oct 2, 2024
7967ded
Merge pull request #13201 from anandmeg/uuf-226275
prmerger-automator[bot] Oct 2, 2024
f13988e
Acrolinx
ghogen Oct 2, 2024
a5b6f6d
More Acrolinx
ghogen Oct 2, 2024
325719c
Merge pull request #13200 from ghogen/msbuild-error-4025
prmerger-automator[bot] Oct 3, 2024
0ae8167
Add Azure acct info
anandmeg Oct 3, 2024
03b959f
Update link
anandmeg Oct 3, 2024
da7cab3
Update link for build
anandmeg Oct 3, 2024
1cc2fb6
Merge pull request #13202 from anandmeg/uuf-261744
prmerger-automator[bot] Oct 3, 2024
9da0be9
Merged main into live
mijacobs Oct 3, 2024
0d44db3
Merging changes synced from https://github.com/MicrosoftDocs/visualst…
Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/ide/copilot-chat-context.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Tips & Tricks for GitHub Copilot Chat in Visual Studio'
description: Use slash commands, references, and threads to form better questions and get better answers with scoped context in GitHub Copilot Chat.
ms.date: 9/9/2024
ms.date: 10/02/2024
ms.topic: how-to
author: anandmeg
ms.author: meghaanand
Expand Down Expand Up @@ -80,6 +80,10 @@ Use *@workspace* to refer to the solution active in the IDE for context. When us

:::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.":::

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).

:::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.":::

### Usage examples
Here are some examples of using references for context control:

Expand Down
6 changes: 3 additions & 3 deletions docs/ide/how-to-report-a-problem-with-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Here are the steps to report a problem.
![Take a screenshot](../ide/media/feedback-screenshot.png)
*Only Microsoft engineers can see the screenshot*

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

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.
1. Click **Start recording**. Wait a moment for the permissions prompt.
Expand All @@ -59,12 +59,12 @@ Here are the steps to report a problem.
> [!Warning]
> 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.

5. Review the attached files and upload additional files if you believe it would help diagnose the issue.
1. Review the attached files and upload additional files if you believe it would help diagnose the issue.

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

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.
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.

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.

Expand Down
6 changes: 5 additions & 1 deletion docs/ide/managing-application-settings-dotnet.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Manage application settings (.NET)
description: Manage application settings that aren't included in the application code but are needed at runtime with the Visual Studio IDE.
ms.date: 06/20/2024
ms.date: 10/02/2024
ms.topic: conceptual
f1_keywords:
- msvse_settingsdesigner.err.nameblank
Expand Down Expand Up @@ -109,6 +109,10 @@ Properties.Settings.Default.Save();

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

## Migrating apps from .NET Framework to .NET

.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).

## Related content

- [Add an app.config file (C#)](how-to-add-app-config-file.md)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/ide/signing-in-to-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Sign in or switch Visual Studio accounts
titleSuffix: ""
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.
ms.date: 6/27/2024
ms.date: 10/02/2024
ms.topic: how-to
author: anandmeg
ms.author: meghaanand
Expand Down Expand Up @@ -82,6 +82,8 @@ If you have multiple accounts, you can add them all to Visual Studio so that you

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.

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**.

There are several types of accounts you can add:

- Add a standard Visual Studio account:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Install and use behind a firewall or proxy server
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
ms.date: 11/27/2023
ms.date: 10/02/2024
ms.topic: conceptual
helpviewer_keywords:
- network installation, Visual Studio
Expand Down Expand Up @@ -79,6 +79,9 @@ Because the Visual Studio Installer downloads files from various domains and the

## Use Visual Studio and Azure Services

> [!NOTE]
> 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`.

### URLs to add to an allowlist and ports and protocols to open

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.
Expand Down
8 changes: 5 additions & 3 deletions docs/msbuild/errors/msb3270.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ MSB3270: There was a mismatch between the processor architecture of the project

## Possible causes

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.

In Visual Studio, you can use the Configuration Manager to control which architectures are built.
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.

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

Expand All @@ -41,6 +39,10 @@ Setting the MSBuild property `ResolveAssemblyWarnOrErrorOnTargetArchitectureMism
</PropertyGroup>
```

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).

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**.

## See also

- [MSBuild target framework and target platform](../msbuild-target-framework-and-target-platform.md)
8 changes: 5 additions & 3 deletions docs/msbuild/errors/msb4025.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ ms.subservice: msbuild
---
# MSB4025

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.
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.

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

```output
MSB4024: The imported project file 'filename' could not be loaded.
MSB4024: The imported project file could not be loaded.
```

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.
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.

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.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How do my end users activate their Visual Studio Subscription?
description: The subscription is active and can be used as soon as it has been assigned from within the Visual Studio Administrator portal.
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.
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.
ms.faqid: group2_1
ms.topic: include
ms.assetid: 1530ca0a-f23f-44f1-9bde-792ea1265085
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How do my developers activate software using product keys from their Visual Studio subscription?
description: Depending on what product your subscriber has downloaded it can either be activated by logging in using the email address tied to the...
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.
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.
ms.faqid: group2_4
ms.topic: include
ms.assetid: 248726b6-1e50-481c-aabf-0f509da5d710
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: What benefits and software is available to my subscriber once a Visual Studio subscription has been assigned?
description: The Visual Studio Subscription benefits page allows you to see and compare the full list of benefits and software downloads included...
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.
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.
ms.faqid: group2_2
ms.topic: include
ms.assetid: e8b196c2-6118-47d1-8363-ceae3d9b6fb2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How do my developers get 50% off Azure Dev/Test workloads?
description: If your organization has an Enterprise Agreement for Azure, your developers can choose...
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.
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.
ms.faqid: group2_5
ms.topic: include
ms.assetid: 86308cf3-909b-47a0-9230-5d1a93a2f87a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How do my developers download Visual Studio?
description: Learn how developers can download Visual Studio using Visual Studio subscriptions
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.
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.
ms.faqid: group2_3
ms.topic: include
ms.assetid: ee7e5ba2-a4b5-4db0-bd05-583dca51c75e
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How do I assign Visual Studio subscriptions?
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...
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.
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.
ms.faqid: group1_3
ms.topic: include
ms.assetid: 59eb35fd-ec94-41ce-b24c-a8a120976bac
Expand Down
2 changes: 1 addition & 1 deletion subscriptions/faq/admin/managing/includes/email-types.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: What is the difference between a Sign-in email address and a Notification email address?
description: Individuals who are assigned a subscription receive periodic communications from the Visual Studio team, including an email...
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.
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.
ms.faqid: group1_5
ms.topic: include
ms.assetid: 3b7b2932-3274-4275-9d80-b28406bcefc4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: What is the GitHub setup process?
description: How do GitHub Enterprise subscriptions get assigned to Visual Studio subscribers?
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.
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.
ms.faqid: group1_4
ms.topic: include
ms.assetid: e45ac76b-3ab1-45cf-a680-488f65e7e84f
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Why is the portal not showing the correct number of Visual Studio subscriptions for my agreement?
description: If you're not seeing the correct number of subscriptions for your agreement, you may have the wrong agreement selected in the...
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.
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.
ms.faqid: group1_7
ms.topic: include
ms.assetid: d97a767b-148d-488d-a860-778f406d8207
Expand Down
Loading