January 2, 2017 As our first post of the year, and the first “Extension Monday” of the year, this project seemed perfect to share…Mario Hsiao recently released this great pack of Visual Studio Extension/Extensibility Project and Item Templates, ones that if you’re an Extension author you’ll want immediately…Extensibility Templates“Contains numerous item and project templates that makes it easier than ever to build Visual Studio extensions.New Project Templates:C# VSIX LibraryC# VSIX ProjectVisual Studio Shell IsolatedNew VSIX Templates:ControlDialog WindowWCF ServiceWindowWizardNew VSPackage Templates:VSPackageCommandTool WindowEditorServiceDialog PageOption PageMiscellaneous:EULA.rtfLICENSEREADME.md…” [Click through to download it or get it within Visual Studio]Once you install it you’ll get a nice Getting Started readme;“Getting StartedVisual Studio ExtensionsCreating a Visual Studio ExtensionThis project enables developers to create an extension for Visual Studio. The solution contains a VSIX project that packages the extension into a VSIX file. This file is used to install an extension for Visual Studio.Add new featuresRight-click the project node in Solution Explorer and select Add>New Item.In the Add New Item dialog box, expand the Extensibility node under Visual C# or Visual Basic.Choose from the available item templates: Visual Studio Package, Editor Items (Classifier, Margin, Text Adornment, Viewport Adornment), Command, Tool Window, Toolbox Control, and then click Add.The files for the template that you selected are added to the project. You can start adding functionality to your item template, press F5 to run the project, or add additional item templates.Run and debugTo run the project, press F5. Visual Studio will:Build the extension from the VSIX project.Create a VSIX package from the VSIX project.When debugging, start an experimental instance of Visual Studio with the VSIX package installed.In the experimental instance of Visual Studio you can test out the functionality of your extension without affecting your Visual Studio installation.…”Here’s a snap of just some of the TemplatesSee what I mean that you’ll want this ASAP? Follow @CH9 Follow @coding4fun Follow @gduncan411 Source link