You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/creating-solutions-and-projects.md
+15-21Lines changed: 15 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Create solutions and projects in Visual Studio | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "06/16/2017"
4
+
ms.date: 02/06/2018
5
5
ms.reviewer: ""
6
6
ms.suite: ""
7
7
ms.technology: "vs-ide-general"
@@ -13,7 +13,6 @@ f1_keywords:
13
13
- "VS.ToolsOptionsPages.Projects.General"
14
14
- "SolutionItemsProject"
15
15
helpviewer_keywords:
16
-
- "solutions [Visual Studio], deleting"
17
16
- "solutions [Visual Studio], creating"
18
17
- "projects [Visual Studio], creating"
19
18
author: "gewarren"
@@ -41,7 +40,7 @@ That being said, solutions and projects are not required to develop apps in Visu
41
40
42
41
## To create a project from a project template
43
42
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.
45
44
46
45

47
46
@@ -54,23 +53,23 @@ That being said, solutions and projects are not required to develop apps in Visu
54
53
55
54
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.
56
55
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.
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.
62
61
63
62
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**.
64
63
65
64
1. Choose the **OK** button to create the solution and project.
66
65
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**.
68
67
69
68
## Create a project from existing code files
70
69
71
70
If you have a collection of code source files, you can easily add them to a project.
72
71
73
-
1. On the menu, choose **File**, **New**,**Project From Existing Code**.
72
+
1. On the menu, choose **File** > **New** >**Project From Existing Code**.
74
73
75
74
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.
76
75
@@ -81,31 +80,26 @@ If you have a collection of code source files, you can easily add them to a proj
81
80
82
81
## Add files to a solution
83
82
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**.
85
84
86
85
## Create a .NET project that targets a specific version of the .NET Framework
87
86
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.
89
88
90
-

89
+

91
90
92
91
> [!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.
99
93
100
94
## Create empty solutions
101
95
102
96
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.
103
97
104
98
### To create an empty solution
105
99
106
-
1. On the menu, choose **File**, **New**,**Project...**.
100
+
1. On the menu, choose **File** > **New** >**Project...**.
107
101
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.
109
103
110
104
1. In the middle pane, choose **Blank Solution**.
111
105
@@ -119,7 +113,7 @@ As mentioned earlier, you can also open code files without needing a project or
119
113
120
114
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.
121
115
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.
123
117
124
118
## Delete a solution, project, or item
125
119
@@ -138,7 +132,7 @@ You can delete solutions and their contents permanently, but not by using the Vi
138
132
139
133
## See also
140
134
141
-
[Solutions and Projects](../ide/solutions-and-projects-in-visual-studio.md)
135
+
[Solutions and projects](../ide/solutions-and-projects-in-visual-studio.md)
142
136
[Microsoft's open source repositories on GitHub](https://github.com/Microsoft)
143
137
[Visual Studio Samples](../ide/visual-studio-samples.md)
Copy file name to clipboardExpand all lines: docs/ide/finding-and-using-visual-studio-extensions.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ If you wish to disable automatic updates, you can disable the feature for all ex
68
68
69
69
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.
70
70
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.
72
72
73
73
When these notifications are shown, you can ignore the notification or take one of the following actions:
Copy file name to clipboardExpand all lines: docs/ide/go-to-and-peek-definition.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ helpviewer_keywords:
16
16
author: "gewarren"
17
17
ms.author: "gewarren"
18
18
manager: ghogen
19
-
ms.workload:
19
+
ms.workload:
20
20
- "multiple"
21
21
---
22
22
# View type and member definitions
@@ -66,7 +66,7 @@ For example, if you run the **Go To Definition** command for <xref:System.Consol
66
66
67
67
### View decompiled source definitions instead of metadata (C#)
68
68
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**.
70
70
71
71

72
72
@@ -75,5 +75,5 @@ New in **Visual Studio 2017 version 15.6 preview 2**, you can set an option to s
75
75
76
76
## See also
77
77
78
-
[Navigating Code](../ide/navigating-code.md)
78
+
[Navigating Code](../ide/navigating-code.md)
79
79
[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)
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.
23
22
24
23
> [!IMPORTANT]
25
24
> 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).
26
25
27
-
## Targeting a version when you create a project
26
+
## To target a version when you create a project
28
27
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.
30
29
31
-
### To target a version when you create a project
30
+
1. On the menu bar, choose **File** > **New** > **Project...**.
32
31
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.
34
33
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.
36
35
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.
38
37
39
-
The list of templates shows only those projects that are supported by the version of the .NET Framework that you chose.
38
+

40
39
41
-
## Changing the target version
40
+
1. Choose the **OK** button.
41
+
42
+
## To change the targeted version
42
43
43
44
You can change the targeted version of the .NET Framework in a Visual Basic, C#, or Visual F# project by following this procedure.
44
45
45
46
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).
46
47
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**.
50
49
51
50

52
51
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.
54
53
55
54

56
55
57
56
> [!NOTE]
58
57
> After you create a UWP app, you can't change the targeted version of either Windows or the .NET Framework.
59
58
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.
61
60
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.
63
62
64
63
The project unloads. When it reloads, it targets the .NET Framework version that you just chose.
Copy file name to clipboardExpand all lines: docs/ide/productivity-tips-for-visual-studio.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ For information about common keyboard shortcuts, see [Keyboard tips](../ide/tips
23
23
24
24
Write code more quickly by using the following features.
25
25
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).
27
27
28
28
-**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).
Copy file name to clipboardExpand all lines: docs/ide/tips-and-tricks-for-visual-studio.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,7 @@
1
1
---
2
2
title: "Visual Studio keyboard shortcuts | Microsoft Docs"
3
-
ms.custom: ""
4
3
ms.date: "06/21/2017"
5
-
ms.reviewer: ""
6
-
ms.suite: ""
7
4
ms.technology: vs-ide-general
8
-
ms.tgt_pltfrm: ""
9
5
ms.topic: "article"
10
6
author: "gewarren"
11
7
ms.author: "gewarren"
@@ -15,7 +11,11 @@ ms.workload:
15
11
---
16
12
# Keyboard tips for Visual Studio
17
13
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).
19
19
20
20
## Window management
21
21
@@ -78,7 +78,7 @@ You can navigate in Visual Studio more easily by using the keyboard shortcuts in
0 commit comments