Skip to content

Repo sync for protected CLA branch #6207

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 26 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
40e05bf
Add missing description metadata
damabe Nov 25, 2020
df9f493
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
damabe Nov 27, 2020
411956c
Add descriptions for SEO improvement
damabe Nov 27, 2020
46131b8
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
damabe Nov 29, 2020
8201769
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
damabe Dec 1, 2020
adcd85f
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
damabe Dec 1, 2020
40c5003
Add missing metadata descriptions
damabe Dec 1, 2020
b3774dc
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
damabe Dec 3, 2020
75895a4
Add missing metadata descriptions
damabe Dec 3, 2020
90c8d14
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
damabe Dec 4, 2020
95ec881
Add missing metadata descriptions
damabe Dec 4, 2020
f754c9c
Add missing metadata descriptions
damabe Dec 5, 2020
873b80a
Add missing metadata descriptions
damabe Dec 5, 2020
b762de7
Removed the term 'legacy' when referring to Team Explorer.
prnadago Dec 14, 2020
25a8c50
Part 2 only applies to VS 2019
ghogen Dec 14, 2020
a51068f
Fix validation error
ghogen Dec 15, 2020
f1a9208
Fixed Team Explorer strings to resolve PR comment
prnadago Dec 15, 2020
87221ca
Merge pull request #7619 from prnadago/prnadago-git-docs
PRMerger9 Dec 15, 2020
da1a0be
Merge pull request #7620 from ghogen/extend-2017
PRMerger12 Dec 15, 2020
cb44e61
Merge pull request #7528 from MicrosoftDocs/repo_sync_working_branch
ghogen Dec 15, 2020
e54ea5f
minor text edit
TerryGLee Dec 15, 2020
ccc02fa
Merge pull request #7623 from TerryGLee/tglee-ghi
PRMerger18 Dec 15, 2020
c73a9dc
Adjust console tutorial TOC for VS 2017
ghogen Dec 15, 2020
67326c5
Apply suggestions from code review
damabe Dec 15, 2020
e881316
Merge pull request #7624 from ghogen/extend-2017
GitHubber17 Dec 15, 2020
4bd2b77
Merge pull request #7576 from damabe/1767836-damabe2
PMEds28 Dec 15, 2020
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
4 changes: 2 additions & 2 deletions docs/get-started/csharp/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
- name: Create your first C# app
expanded: true
items:
- name: 'Part 1: Create a C# console app'
- name: 'Create a C# console app'
href: tutorial-console.md
- name: 'Part 2: Extend your C# console app'
- name: 'Extend your C# console app'
href: tutorial-console-part-2.md
- name: Create a web app
href: tutorial-aspnet-core.md
Expand Down
1 change: 1 addition & 0 deletions docs/get-started/csharp/tutorial-console-part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ms.devlang: CSharp
author: ghogen
ms.author: ghogen
manager: jillfra
monikerRange: ">=vs-2019"
dev_langs:
- CSharp
ms.workload:
Expand Down
17 changes: 16 additions & 1 deletion docs/get-started/csharp/tutorial-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Let's change the code to handle this error.

Now, when you divide any number by zero, the app will ask for another number. Even better: It won't stop asking until you provide a number other than zero.

![The Visual Studio code editor shows the divide-by-zero error](./media/csharp-console-calculator-dividebyzero.png)
![Fixed the divide-by-zero error](./media/csharp-console-calculator-dividebyzero.png)

### Fix the "format" error

Expand Down Expand Up @@ -594,10 +594,25 @@ namespace Calculator

## Next steps

:::moniker range="vs-2017"

Continue with more tutorials:

> [!div class="nextstepaction"]
> [C# tutorials](/dotnet/csharp/tutorials)

> [!div class="nextstepaction"]
> [Tour the Visual Studio IDE](../visual-studio-ide.md)

:::moniker-end

:::moniker range="vs-2019"

Continue with the second part of this tutorial:

> [!div class="nextstepaction"]
> [Continue with Part 2](tutorial-console-part-2.md)
:::moniker-end

## See also

Expand Down
4 changes: 2 additions & 2 deletions docs/ide/git-with-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ To personalize and customize your Git settings at a repository level as well as

:::image type="content" source="media/git-options-settings.png" alt-text="The Options dialog box where you can choose personalization and customization settings in Visual Studio IDE ":::

## How to use the legacy Team Explorer experience in Visual Studio
## How to use the full Team Explorer experience in Visual Studio

The new Git experience is the default version control system in Visual Studio 2019 from [version 16.8](/visualstudio/releases/2019/release-notes/) onwards. However, if you want to turn it off, you can. Go to **Tools** > **Options** > **Environment** > **Preview Features** and then toggle the **New Git user experience** checkbox, which will switch you back to the legacy Team Explorer experience.
The new Git experience is the default version control system in Visual Studio 2019 from [version 16.8](/visualstudio/releases/2019/release-notes/) onwards. However, if you want to turn it off, you can. Go to **Tools** > **Options** > **Environment** > **Preview Features** and then toggle the **New Git user experience** checkbox, which will switch you back to Team Explorer for Git.

:::image type="content" source="media/git-opt-new-user-experience.png" alt-text="The Preview Features section of the Options dialog box in Visual Studio ":::

Expand Down
2 changes: 1 addition & 1 deletion docs/ide/solutions-and-projects-in-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Visual Studio uses two file types (*.sln* and *.suo*) to store settings for solu

### Solution folder

In this context, a "solution folder" is a virtual folder that's only in **Solution Explorer**, where you can use it to group projects in a solution. If you want to locate a solution file on a computer, go to **Tools** > **Options** > **Projects and Solutions** > **Locations**. For more information, see [Options dialog box: Projects and Solutions > Locations](./reference/projects-solutions-locations-options.md)
In this context, a "solution folder" is a virtual folder that's only in **Solution Explorer**, where you can use it to group projects in a solution. If you want to locate a solution file on a computer, go to **Tools** > **Options** > **Projects and Solutions** > **Locations**. For more information, see [Options dialog box: Projects and Solutions > Locations](./reference/projects-solutions-locations-options.md).

## Create new projects

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "Copy and paste shapes in Visio document programmatically"
description: Learn how you can programmatically copy shapes on one page of a document and paste them into a new page in the same document.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "Copy data and formatting across worksheets programmatically"
description: Learn how you can copy data from a range on one sheet to all the other sheets in a workbook by using the FillAcrossSheets method.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-copy-worksheets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically copy worksheets"
description: Learn how you can create a copy of a worksheet, and insert that worksheet before or after an existing worksheet in the workbook.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically count characters in documents"
description: Learn how you can determine the number of characters in a document by using the Count property of the Characters collection.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-a-custom-calendar.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create a custom calendar"
description: Use this example to programmatically create a new Calendar folder named PersonalCalendar, and then create a new Appointment item and add it to the Calendar folder.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-a-meeting-request.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create a meeting request"
description: Learn how you can programmatically create a meeting request in Microsoft Outlook and send the request to a required attendee.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-an-e-mail-item.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create an email item"
description: Learn how you can programmatically create an email message in Microsoft Outlook by using Visual Studio.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-appointments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create appointments"
description: Learn how you can programmatically create appointments and then add recipients to the appointment meeting request in Microsoft Outlook.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create custom folder items"
description: Learn how you can programmatically create custom folder items in Microsoft Outlook by using Visual Studio.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-new-documents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create new documents"
description: Learn how you can programmatically create new documents in Microsoft Word by using Visual Studio.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create new Visio documents"
description: Learn how you can programmatically create a new Microsoft Visio drawing document and add it to the Documents collection of open Visio documents.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-new-workbooks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create new workbooks"
description: Learn how you can programmatically create a new Microsoft Excel workbook by using Visual Studio.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-create-word-tables.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically create Word tables"
description: Learn how to use the Add method of the Tables collection to add a table at the specified range in a Microsoft Word document.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically define and select ranges in documents"
description: Learn how you can programmatically define and select ranges in Microsoft Word documents by using the Range object.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-delete-appointments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically delete appointments"
description: Learn how you can programmatically delete apppointments in Microsoft Outlook. This example deletes one instance of a recurring appointment.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-delete-outlook-contacts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically delete Outlook contacts"
description: Learn how you can programmatically delete contacts in Microsoft Outlook. This example deletes one contact.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically delete worksheets from workbooks"
description: Learn how you can programmatically delete any worksheet in a Microsoft Excel workbook by using the worksheet host item, for example.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically determine the current Outlook item"
description: Learn how you can programmatically determine the current Microsoft Outlook item. This example uses the Explorer.SelectionChange event.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically display a string in a worksheet cell"
description: Learn how you can programmatically display a string in a Microsoft Excel worksheet cell by using either a NamedRange control or a native Excel range object.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically display documents in Print Preview"
description: Learn how you can programmatically display documents in Print Preview in a Microsoft Word document.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically display worksheet comments"
description: Learn how you can programmatically show and hide comments in a Microsoft Excel worksheet at the document level or the application level.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "Exclude paragraph marks when creating ranges programmatically"
description: Learn how you can programmatically exclude paragraph marks when creating ranges in a Microsoft Word document.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically extend ranges in documents"
description: Learn how you can programmatically extend start and end point ranges in a Microsoft Word document at the document level or application level.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-format-text-in-documents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically format text in documents"
description: Learn how you can use the Range object to programmatically format text in a Microsoft Word document.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically group rows in a worksheet"
description: Learn how you can programmatically group one or more whole rows in Microsoft Excel by using a NamedRange control or a native Excel range object.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-hide-text-in-documents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically hide text in documents"
description: Learn how you can hide text in a Microsoft Word document by setting the Hidden property of the Font for a particular range of text.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-hide-worksheets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically hide worksheets"
description: Learn how you can programmatically show or hide any worksheet in a Microsoft Excel workbook by using the worksheet host item.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically insert text into Word documents"
description: Learn how you can programmatically insert text into a Microsoft Word document by using Visual Studio.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "08/14/2019"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically list all worksheets in a workbook"
description: Learn how you can programmatically list all worksheets in a Microsoft Excel workbook by using Visual Studio.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically list recently used workbook files"
description: Learn how you can programmatically list recently used Microsoft Excel workbook files by using Visual Studio.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically loop through found items in documents"
description: Learn how you can programmatically loop through found items in a Microsoft Word document by using Visual Studio.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-move-items-in-outlook.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically move items in Outlook"
description: Learn how you can programmatically move items in Microsoft Outlook. This example moves unread e-mail messages from the Inbox to a folder named Test.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically move worksheets within workbooks"
description: Learn how you can programmatically change the position of worksheets relative to other worksheets in a Microsoft Excel workbook.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-open-existing-documents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically open existing documents"
description: Learn how to use the Open method to open an existing Microsoft Word document specified by a fully-qualified path and file name.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically open text files as workbooks"
description: Learn how you can use Visual Studio to programmatically open a text file as a Microsoft Excel workbook.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-open-visio-documents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically open Visio documents"
description: Learn how you can use Visual Studio to programmatically open a Visio document with the Open or OpenEx methods.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-open-workbooks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically open workbooks"
description: Learn how you can use Visual Studio to programmatically open a Microsoft Excel workbook or work with an existing workbook.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "Programmatically perform actions if email message is received"
description: Learn how you can use Visual Studio to programmatically perform custom actions if an email is received in Microsoft Outlook.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "Populate Word tables with document properties programmatically"
description: Learn how you can use Visual Studio to programmatically populate a table with document properties in a Microsoft Word document.
ms.custom: SEO-VS-2020
titleSuffix: ""
ms.date: "02/02/2017"
ms.topic: "how-to"
Expand Down
2 changes: 2 additions & 0 deletions docs/vsto/how-to-programmatically-print-documents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "How to: Programmatically print documents"
description: Learn how you can print an entire Microsoft Word document, or part of a document, to your default printer.
ms.custom: SEO-VS-2020
ms.date: "02/02/2017"
ms.topic: "how-to"
dev_langs:
Expand Down
Loading