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/extensibility/extensibility-hello-world.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.workload:
12
12
---
13
13
# Create your first extension: Hello World
14
14
15
-
This Hello World example walks you through creating your first extension for Visual Studio. This tutorial will show you how to add a new command to Visual Studio.
15
+
This Hello World example walks you through creating your first extension for Visual Studio. This tutorial shows you how to add a new command to Visual Studio.
16
16
17
17
In the process, you will learn how to:
18
18
@@ -29,11 +29,12 @@ For this example, you'll use Visual C# to add a custom menu button named "Say He
29
29
30
30
Before you start, make sure you have installed the **Visual Studio extension development** workload which includes the VSIX template you'll need and sample code.
31
31
32
-
Note: You can use any version of Visual Studio (Community, Professional, or Enterprise) to create a Visual Studio Extensibility project.
32
+
> [!NOTE]
33
+
> You can use any edition of Visual Studio (Community, Professional, or Enterprise) to create a Visual Studio extensibility project.
33
34
34
35
## Create an extensibility project
35
36
36
-
Step 1. From the **File** menu, click **New Project**. At the bottom of the screen, you can enter the name of your project.
37
+
Step 1. From the **File** menu, click **New Project**. At the bottom of the screen, enter the name of your project.
37
38
38
39
Step 2. From the **Templates** menu, click **Visual C#**, click **Extensibility**, and then click **VSIX Project**.
39
40
@@ -47,15 +48,15 @@ If you need to leave this tutorial and come back to it, you can find your new He
47
48
48
49
Step 1. If you select the manifest, you can see what options are changeable, for instance, metadata, description, and version.
49
50
50
-
Step 2. Right-click the project (not the solution). On the context menu, click **Add**, and then click **User Control**.
51
+
Step 2. Right-click the project (not the solution). On the context menu, click **Add**, and then click **New Item**.
51
52
52
-
Step 3. Go back to the **Extensibility** section, and then click **Custom Command**.
53
+
Step 3. Select the **Extensibility** section, and then click **Custom Command**.
53
54
54
55
Step 4. In the **Name** field at the bottom, give it a name, for instance *Command.cs*.
Your new command will be listed in the**Solution Explorer** under the **Resources** branch. This is also where you'll find other files related to your command, such as the PNG and ICO files if you wish to modify the image.
59
+
Your new command is listed in **Solution Explorer** under the **Resources** branch. This is also where you'll find other files related to your command, such as the PNG and ICO files if you wish to modify the image.
59
60
60
61
## Modify the source code
61
62
@@ -110,7 +111,7 @@ Make sure to save your changes to each file.
110
111
111
112
You can now run the source code in the Visual Studio Experimental Instance.
112
113
113
-
Step 1. Click **Start** in the Toolbar. This will build your project and start the debugger, launching a new instance of Visual Studio called the **Experimental Instance**.
114
+
Step 1. Click **Start** in the Toolbar. This builds your project and starts the debugger, launching a new instance of Visual Studio called the **Experimental Instance**.
114
115
115
116
You will see the words **Experimental Instance** in the Visual Studio title bar.
116
117
@@ -128,4 +129,4 @@ Now that you know the basics of working with Visual Studio Extensibility, here's
128
129
129
130
*[Start to develop Visual Studio extensions](starting-to-develop-visual-studio-extensions.md) - Samples, tutorials. and publishing your extension.
130
131
*[What's new in the Visual Studio 2017 SDK](what-s-new-in-the-visual-studio-2017-sdk.md) -New extensibility features in Visual Studio 2017
131
-
*[Inside the Visual Studio SDK](internals/inside-the-visual-studio-sdk.md) - Learn the details of Visual Studio Extensibility
132
+
*[Inside the Visual Studio SDK](internals/inside-the-visual-studio-sdk.md) - Learn the details of Visual Studio Extensibility
0 commit comments