Skip to content

Commit f7877f1

Browse files
authored
Merge pull request #1540 from MicrosoftDocs/release-15.6
Merge release-15.6 to master
2 parents a43b53d + afbc9ee commit f7877f1

File tree

39 files changed

+170
-121
lines changed

39 files changed

+170
-121
lines changed

docs/ide/creating-solutions-and-projects.md

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create solutions and projects in Visual Studio | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "06/16/2017"
4+
ms.date: 02/06/2018
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology: "vs-ide-general"
@@ -13,7 +13,6 @@ f1_keywords:
1313
- "VS.ToolsOptionsPages.Projects.General"
1414
- "SolutionItemsProject"
1515
helpviewer_keywords:
16-
- "solutions [Visual Studio], deleting"
1716
- "solutions [Visual Studio], creating"
1817
- "projects [Visual Studio], creating"
1918
author: "gewarren"
@@ -41,7 +40,7 @@ That being said, solutions and projects are not required to develop apps in Visu
4140
4241
## To create a project from a project template
4342

44-
1. There are multiple ways to create a new project in Visual Studio. On the Start Page, enter the name of a project template in the **Search project templates** box, or choose the **Create new project** link to open the **New Project** dialog box. You can also choose **File**, **New**, **Project...** on the menu bar, or choose the **New Project** button on the toolbar.
43+
1. There are multiple ways to create a new project in Visual Studio. On the Start Page, enter the name of a project template in the **Search project templates** box, or choose the **Create new project** link to open the **New Project** dialog box. You can also choose **File** > **New** > **Project...** on the menu bar, or choose the **New Project** button on the toolbar.
4544

4645
![Start page](./media/vside-newproject1.png)
4746

@@ -54,23 +53,23 @@ That being said, solutions and projects are not required to develop apps in Visu
5453
5554
1. Show the list of templates for the programming language you want to use by choosing the triangle next to the language name, and then choose a project type.
5655

57-
The following example shows the project templates available for Visual C# web projects.
56+
The following example shows the project templates available for Visual C# .NET Core projects.
5857

59-
![Project templates](./media/vside-newproject-projects-list.png)
58+
![Project templates](./media/new-project-dialog-net-core.png)
6059

6160
1. Enter a name for the new project in the **Name** box. You can choose to save the project in the default location on your system, or choose the **Browse** button to find another location.
6261

6362
You can also optionally choose to change the solution name, or add the new project to a Git repository by choosing **Add to Source Control**.
6463

6564
1. Choose the **OK** button to create the solution and project.
6665

67-
1. If you want to add an additional project to the solution, choose the solution node in Solution Explorer, and then on the menu bar, choose **Project**, **Add New Item**.
66+
1. If you want to add an additional project to the solution, choose the solution node in Solution Explorer, and then on the menu bar, choose **Project** > **Add New Item**.
6867

6968
## Create a project from existing code files
7069

7170
If you have a collection of code source files, you can easily add them to a project.
7271

73-
1. On the menu, choose **File**, **New**, **Project From Existing Code**.
72+
1. On the menu, choose **File** > **New** > **Project From Existing Code**.
7473

7574
1. In the **Create Project from Existing Code Files** wizard, choose the project type you want in the **What type of project would you like to create?** drop-down list box, and then choose the **Next** button.
7675

@@ -81,31 +80,26 @@ If you have a collection of code source files, you can easily add them to a proj
8180
8281
## Add files to a solution
8382

84-
If you have a file that applies to multiple projects, such as a readme file for the solution, or other files that logically belong at the solution level rather than under a specific project, then you can add them to the solution itself. To add an item to a solution, on the context (right-click) menu of the solution node in **Solution Explorer**, choose **Add**, **New Item**, or **Add**, **Existing Item**.
83+
If you have a file that applies to multiple projects, such as a readme file for the solution, or other files that logically belong at the solution level rather than under a specific project, then you can add them to the solution itself. To add an item to a solution, on the context (right-click) menu of the solution node in **Solution Explorer**, choose **Add** > **New Item**, or **Add** > **Existing Item**.
8584

8685
## Create a .NET project that targets a specific version of the .NET Framework
8786

88-
When you create a project, you can specify a specific version of the .NET Framework that you want the project to use. To specify a .NET framework version, choose the **.NET Framework** version drop-down menu in the **New Project** dialog box.
87+
When you create a project, you can specify a specific version of the .NET Framework that you want the project to use. To specify a .NET framework version, choose the **Framework** drop-down menu in the **New Project** dialog box.
8988

90-
![.NET Framework version selector](./media/vside-newproject-framework.png)
89+
![Framework drop-down in New Project dialog](./media/vside-newproject-framework.png)
9190

9291
> [!NOTE]
93-
> If you are creating a project from a .NET Core template, the .NET Framework version you select in the drop-down is ignored.
94-
95-
> [!TIP]
96-
> If you set the .NET Framework version before selecting a project template, then Visual Studio will only show templates that are compatible with that .NET Framework version.
97-
98-
You must have .NET Framework 3.5 installed on your system to access .NET Framework versions earlier than .NET Framework 4.
92+
> You must have .NET Framework 3.5 installed on your system to access .NET Framework versions earlier than .NET Framework 4.
9993
10094
## Create empty solutions
10195

10296
You can also create empty solutions that have no projects. This might be preferable in cases where you want to construct your solution and projects from scratch.
10397

10498
### To create an empty solution
10599

106-
1. On the menu, choose **File**, **New**, **Project...**.
100+
1. On the menu, choose **File** > **New** > **Project...**.
107101

108-
1. In the left (**Templates**) pane, choose **Other Project Types**, **Visual Studio Solutions** in the expanded list.
102+
1. In the left (**Templates**) pane, choose **Other Project Types** > **Visual Studio Solutions** in the expanded list.
109103

110104
1. In the middle pane, choose **Blank Solution**.
111105

@@ -119,7 +113,7 @@ As mentioned earlier, you can also open code files without needing a project or
119113

120114
If you create a .NET-based project without specifying a disk location, it is a temporary project. Temporary projects enable you to experiment with .NET projects. At any time while you are working with a temporary project, you can choose to save it or discard it.
121115

122-
To create a temporary project, first go to **Tools**, **Options**, **Projects and Solutions**, **General**, and uncheck the **Save new projects when created** checkbox. Then open the **New Project** dialog box as usual.
116+
To create a temporary project, first go to **Tools** > **Options** > **Projects and Solutions** > **General**, and uncheck the **Save new projects when created** checkbox. Then open the **New Project** dialog box as usual.
123117

124118
## Delete a solution, project, or item
125119

@@ -138,7 +132,7 @@ You can delete solutions and their contents permanently, but not by using the Vi
138132

139133
## See also
140134

141-
[Solutions and Projects](../ide/solutions-and-projects-in-visual-studio.md)
135+
[Solutions and projects](../ide/solutions-and-projects-in-visual-studio.md)
142136
[Microsoft's open source repositories on GitHub](https://github.com/Microsoft)
143137
[Visual Studio Samples](../ide/visual-studio-samples.md)
144-
[Developer code samples](https://code.msdn.microsoft.com/)
138+
[Developer code samples](https://code.msdn.microsoft.com/)

docs/ide/editorconfig-code-style-settings-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ The following table shows the rule names, rule IDs, applicable programming langu
386386
| dotnet_style_explicit_tuple_names | IDE0033 | C# 7.0+ and Visual Basic 15+ | true:suggestion | First release |
387387
| dotnet_style_coalesce_expression | IDE0029 | C# and Visual Basic | true:suggestion | First release |
388388
| dotnet_style_null_propagation | IDE0031 | C# 6.0+ and Visual Basic 14+ | true:suggestion | First release |
389-
| dotnet_prefer_inferred_tuple_names | IDE0037 | C# 7.1+ and Visual Basic 15+ | true:suggestion | 15.6 preview 2 |
390-
| dotnet_prefer_inferred_anonymous_type_member_names | IDE0037 | C# and Visual Basic | true:suggestion | 15.6 preview 2 |
389+
| dotnet_prefer_inferred_tuple_names | IDE0037 | C# 7.1+ and Visual Basic 15+ | true:suggestion | 15.6 |
390+
| dotnet_prefer_inferred_anonymous_type_member_names | IDE0037 | C# and Visual Basic | true:suggestion | 15.6 |
391391

392392
**dotnet\_style\_object_initializer**
393393

docs/ide/finding-and-using-visual-studio-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If you wish to disable automatic updates, you can disable the feature for all ex
6868

6969
New in **Visual Studio 2017 version 15.3**, Visual Studio notifies you if it suspects that an extension was involved in a crash during a previous session. When Visual Studio crashes, it stores the exception stack. The next time Visual Studio launches, it examines the stack, starting with the leaf and working towards the base. If Visual Studio determines that a frame belongs to a module that is part of an installed and enabled extension, it shows a notification.
7070

71-
New in **Visual Studio 2017 version 15.6 preview 3**, Visual Studio also notifies you if it suspects an extension is causing the UI to be unresponsive.
71+
New in **Visual Studio 2017 version 15.6**, Visual Studio also notifies you if it suspects an extension is causing the UI to be unresponsive.
7272

7373
When these notifications are shown, you can ignore the notification or take one of the following actions:
7474

docs/ide/go-to-and-peek-definition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ helpviewer_keywords:
1616
author: "gewarren"
1717
ms.author: "gewarren"
1818
manager: ghogen
19-
ms.workload:
19+
ms.workload:
2020
- "multiple"
2121
---
2222
# View type and member definitions
@@ -66,7 +66,7 @@ For example, if you run the **Go To Definition** command for <xref:System.Consol
6666
6767
### View decompiled source definitions instead of metadata (C#)
6868

69-
New in **Visual Studio 2017 version 15.6 preview 2**, you can set an option to see decompiled source code when you view the definition of a C# type or member who's source code is unavailable. To turn on this feature, choose **Tools** > **Options** from the menu bar. Then, expand **Text Editor** > **C#** > **Advanced**, and select **Enable navigation to decompiled sources**.
69+
New in **Visual Studio 2017 version 15.6**, you can set an option to see decompiled source code when you view the definition of a C# type or member who's source code is unavailable. To turn on this feature, choose **Tools** > **Options** from the menu bar. Then, expand **Text Editor** > **C#** > **Advanced**, and select **Enable navigation to decompiled sources**.
7070

7171
![Viewing a decompiled definition](media/go-to-definition-decompiled-sources.png)
7272

@@ -75,5 +75,5 @@ New in **Visual Studio 2017 version 15.6 preview 2**, you can set an option to s
7575
7676
## See also
7777

78-
[Navigating Code](../ide/navigating-code.md)
78+
[Navigating Code](../ide/navigating-code.md)
7979
[How to: View and Edit Code by Using Peek Definition (Alt+F12)](how-to-view-and-edit-code-by-using-peek-definition-alt-plus-f12.md)

docs/ide/how-to-target-a-version-of-the-dotnet-framework.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,64 @@
11
---
2-
title: "How to: Target a Version of the .NET Framework | Microsoft Docs"
2+
title: "Target a .NET Framework version in Visual Studio | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "12/08/2017"
4+
ms.date: 02/06/2018
55
ms.reviewer: ""
66
ms.suite: ""
7-
ms.technology:
8-
- "vs-ide-general"
7+
ms.technology: vs-ide-general
98
ms.tgt_pltfrm: ""
109
ms.topic: "article"
1110
helpviewer_keywords:
12-
- "targeting .NET Framework version [Visual Studio]"
13-
- "versions [Visual Studio], targeting .NET Framework version"
11+
- "targeting .NET Framework [Visual Studio]"
12+
- ".NET Framework version [Visual Studio]"
1413
author: "gewarren"
1514
ms.author: "gewarren"
1615
manager: ghogen
1716
ms.workload:
1817
- "dotnet"
1918
---
20-
# How to: Target a Version of the .NET Framework
19+
# How to: Target a version of the .NET Framework
2120

2221
This document describes how to target a version of the .NET Framework when you create a project, and how to change the targeted version in an existing Visual Basic, C#, or Visual F# project.
2322

2423
> [!IMPORTANT]
2524
> For information about how to change the target version for C++ projects, see [How to: Modify the Target Framework and Platform Toolset](/cpp/build/how-to-modify-the-target-framework-and-platform-toolset).
2625
27-
## Targeting a version when you create a project
26+
## To target a version when you create a project
2827

29-
When you create a project, the version of the .NET Framework that you target determines which templates you can use.
28+
When you create a project, the available .NET Framework versions depend on which versions are installed, and the selected template in the **New Project** dialog box.
3029

31-
### To target a version when you create a project
30+
1. On the menu bar, choose **File** > **New** > **Project...**.
3231

33-
1. On the menu bar, choose **File**, **New**, **Project**.
32+
1. In the list of installed templates, choose the type of project that you want to create, and enter a name for the project.
3433

35-
2. In the list at the top of the **New Project** dialog box, choose the version of the .NET Framework that you want your project to target.
34+
1. From the **Framework** drop-down list at the bottom of the **New Project** dialog box, choose the version of the .NET Framework that you want your project to target.
3635

37-
3. In the list of installed templates, choose the type of project that you want to create, name the project, and then choose the **OK** button.
36+
The list of frameworks shows only those versions that are applicable to the template that you chose. Some project types, such as .NET Core, do not require .NET Framework. In such instances, the **Framework** drop-down list is hidden.
3837

39-
The list of templates shows only those projects that are supported by the version of the .NET Framework that you chose.
38+
![Framework drop-down in New Project dialog](media/vside-newproject-framework.png)
4039

41-
## Changing the target version
40+
1. Choose the **OK** button.
41+
42+
## To change the targeted version
4243

4344
You can change the targeted version of the .NET Framework in a Visual Basic, C#, or Visual F# project by following this procedure.
4445

4546
For information about how to change the target version for C++ projects, see [How to: Modify the Target Framework and Platform Toolset](/cpp/build/how-to-modify-the-target-framework-and-platform-toolset).
4647

47-
### To change the targeted version
48-
49-
1. In **Solution Explorer**, open the shortcut menu for the project that you want to change, and then choose **Properties**.
48+
1. In **Solution Explorer**, open the shortcut menu for the project that you want to change, and then choose **Properties**.
5049

5150
![Visual Studio Solution Explorer Properties](../ide/media/vs_slnexplorer_properties.png "vs_slnExplorer_Properties")
5251

53-
2. In the left column of the properties window, choose the **Application** tab.
52+
1. In the left column of the properties window, choose the **Application** tab.
5453

5554
![Visual Studio App Properties Application tab](../ide/media/vs_slnexplorer_properties_applicationtab.png "vs_slnExplorer_Properties_ApplicationTab")
5655

5756
> [!NOTE]
5857
> After you create a UWP app, you can't change the targeted version of either Windows or the .NET Framework.
5958
60-
3. In the **Target Framework** list, choose the version that you want.
59+
1. In the **Target Framework** list, choose the version that you want.
6160

62-
4. In the verification dialog box that appears, choose the **Yes** button.
61+
1. In the verification dialog box that appears, choose the **Yes** button.
6362

6463
The project unloads. When it reloads, it targets the .NET Framework version that you just chose.
6564

27.9 KB
Loading
127 KB
Loading

docs/ide/productivity-tips-for-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For information about common keyboard shortcuts, see [Keyboard tips](../ide/tips
2323

2424
Write code more quickly by using the following features.
2525

26-
- **Use convenience commands**. Visual Studio contains various commands to help you accomplish common editing tasks faster. For example, in **Visual Studio 2017 version 15.6 preview 2** and later, you can choose a command to easily duplicate a line of code without having to copy it, reposition the cursor, and then paste it. Choose **Edit** > **Duplicate** or press **Ctrl**+**E**,**V**. You can also quickly expand or contract a selection of text by choosing **Edit** > **Advanced** > **Expand Selection** or **Edit** > **Advanced** > **Contract Selection**, or by pressing **Shift**+**Alt**+**=** or **Shift**+**Alt**+**-** (available in **Visual Studio 2017 version 15.5** and later).
26+
- **Use convenience commands**. Visual Studio contains various commands to help you accomplish common editing tasks faster. For example, in **Visual Studio 2017 version 15.6** and later, you can choose a command to easily duplicate a line of code without having to copy it, reposition the cursor, and then paste it. Choose **Edit** > **Duplicate** or press **Ctrl**+**E**,**V**. You can also quickly expand or contract a selection of text by choosing **Edit** > **Advanced** > **Expand Selection** or **Edit** > **Advanced** > **Contract Selection**, or by pressing **Shift**+**Alt**+**=** or **Shift**+**Alt**+**-** (available in **Visual Studio 2017 version 15.5** and later).
2727

2828
- **Use IntelliSense**. As you enter code in the editor, IntelliSense information, such as List Members, Parameter Info, Quick Info, Signature Help, and Complete Word, appears. These features support fuzzy matching of text; for example, the results lists for List Members includes not only entries that start with the characters that you have entered but also entries that contain the character combination anywhere in their names. For more information, see [Using IntelliSense](../ide/using-intellisense.md).
2929

docs/ide/tips-and-tricks-for-visual-studio.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
22
title: "Visual Studio keyboard shortcuts | Microsoft Docs"
3-
ms.custom: ""
43
ms.date: "06/21/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
74
ms.technology: vs-ide-general
8-
ms.tgt_pltfrm: ""
95
ms.topic: "article"
106
author: "gewarren"
117
ms.author: "gewarren"
@@ -15,7 +11,11 @@ ms.workload:
1511
---
1612
# Keyboard tips for Visual Studio
1713

18-
You can navigate in Visual Studio more easily by using the keyboard shortcuts in this topic. This topic is only a subset of the available keyboard shortcuts. For a more complete list, see [Default Keyboard Shortcuts in Visual Studio](../ide/default-keyboard-shortcuts-in-visual-studio.md). For information about how to optimize Visual Studio for accessibility, see [Accessibility Tips and Tricks](../ide/reference/accessibility-tips-and-tricks.md).
14+
You can navigate in Visual Studio more easily by using the keyboard shortcuts in this article.
15+
16+
The shortcuts listed here are only a subset of the available keyboard shortcuts. For a more complete list, see [Default Keyboard Shortcuts in Visual Studio](../ide/default-keyboard-shortcuts-in-visual-studio.md).
17+
18+
For information about how to optimize Visual Studio for accessibility, see [Accessibility Tips and Tricks](../ide/reference/accessibility-tips-and-tricks.md).
1919

2020
## Window management
2121

@@ -78,7 +78,7 @@ You can navigate in Visual Studio more easily by using the keyboard shortcuts in
7878
|Editor Zoom|Ctrl+Shift+> (In), Ctrl+Shift+< (Out)||
7979
|Block Selection|Hold Alt and drag mouse, Shift+Alt+Arrow Keys||
8080
|Move Line Up/Down|Alt+Up / Alt+Down||
81-
|Duplicate line|Ctrl+E,V|Visual Studio 2017 version 15.6 preview 2|
81+
|Duplicate line|Ctrl+E,V|Visual Studio 2017 version 15.6|
8282
|Expand selection|**Shift**+**Alt**+**=**|Visual Studio 2017 version 15.5|
8383
|Contract selection|**Shift**+**Alt**+**-**|Visual Studio 2017 version 15.5|
8484
|Go To Definition|F12||

0 commit comments

Comments
 (0)