From 10b1b7aca555e14b00f56553a7f59ab428853545 Mon Sep 17 00:00:00 2001 From: Guy Bolton King Date: Thu, 4 Feb 2016 10:31:59 +0000 Subject: [PATCH] Vanilla VSIX project generated by VS2015 --- .editorconfig | 13 +++ .gitattributes | 2 + .gitignore | 25 ++++++ Properties/AssemblyInfo.cs | 33 ++++++++ index.html | 65 +++++++++++++++ set-toolsversion-extension.csproj | 64 +++++++++++++++ set-toolsversion-extension.sln | 22 +++++ source.extension.vsixmanifest | 14 ++++ stylesheet.css | 129 ++++++++++++++++++++++++++++++ 9 files changed, 367 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Properties/AssemblyInfo.cs create mode 100644 index.html create mode 100644 set-toolsversion-extension.csproj create mode 100644 set-toolsversion-extension.sln create mode 100644 source.extension.vsixmanifest create mode 100644 stylesheet.css diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a0e45c6 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +end_of_line = crlf +indent_size = 2 +# Not actually supported by the VS plugin; here for other editors. +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.cs] +indent_size = 4 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2176638 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Tell Git to never perform CRLF -> LF conversion on checkin/checkout +* -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe1ff7e --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# Output directories +bin/ +obj/ + +# Per-user project and solution settings +*.opensdf +*.sdf +*.sln.docstates.suo +*.suo +*.user + +# ReSharper caches +_ReSharper.Caches/ + +# Intellisense +*.VC.opendb +*.VC.db + +# Temporary files +*.metaproj +*.bak + +# Performance sessions and reports +*.psess +*.vsp diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..3ffa7a2 --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("set_toolsversion_extension")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("set_toolsversion_extension")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/index.html b/index.html new file mode 100644 index 0000000..917a92d --- /dev/null +++ b/index.html @@ -0,0 +1,65 @@ + + + + + + + + Getting Started + + + +
+ + +
+
+

Creating a Visual Studio Extension

+ +

This 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 features

+ +
    +
  1. Right-click the project node in Solution Explorer and select Add>New Item.
  2. +
  3. In the Add New Item dialog box, expand the Extensibility node under Visual C# or Visual Basic.
  4. +
  5. 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.
  6. +
+ +

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 debug

+

To 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.

+ +
+
+
+

Visual Studio Extensibility Resources

+ +
    +
  1. MSDN documentation
    Detailed documentation and API reference material for building extensions.
  2. +
  3. Extension samples on GitHub
    Use a sample project to kickstart your development.
  4. +
  5. Extensibility chat room on Gitter
    Meet other extension developers and exchange tips and tricks for extension development.
  6. +
  7. Channel 9 videos on extensibility
    Watch videos from the product team on Visual Studio extensibility.
  8. +
  9. Extensibility Tools 2015
    Install an optional helper tool that adds extra IDE support for extension authors.
  10. +
+

Give us feedback

+ +
+
+
+
+ + diff --git a/set-toolsversion-extension.csproj b/set-toolsversion-extension.csproj new file mode 100644 index 0000000..6de22d0 --- /dev/null +++ b/set-toolsversion-extension.csproj @@ -0,0 +1,64 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + Debug + AnyCPU + 2.0 + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {EAB26F50-9FBD-4145-A6AB-7A1BC27C7466} + Library + Properties + set_toolsversion_extension + set-toolsversion-extension + v4.5.2 + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + Designer + + + + + + + + + + \ No newline at end of file diff --git a/set-toolsversion-extension.sln b/set-toolsversion-extension.sln new file mode 100644 index 0000000..18f8a18 --- /dev/null +++ b/set-toolsversion-extension.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.24720.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "set-toolsversion-extension", "set-toolsversion-extension.csproj", "{EAB26F50-9FBD-4145-A6AB-7A1BC27C7466}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EAB26F50-9FBD-4145-A6AB-7A1BC27C7466}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EAB26F50-9FBD-4145-A6AB-7A1BC27C7466}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EAB26F50-9FBD-4145-A6AB-7A1BC27C7466}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EAB26F50-9FBD-4145-A6AB-7A1BC27C7466}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/source.extension.vsixmanifest b/source.extension.vsixmanifest new file mode 100644 index 0000000..506e521 --- /dev/null +++ b/source.extension.vsixmanifest @@ -0,0 +1,14 @@ + + + + + set_toolsversion_extension + Empty VSIX Project. + + + + + + + + diff --git a/stylesheet.css b/stylesheet.css new file mode 100644 index 0000000..4e615bc --- /dev/null +++ b/stylesheet.css @@ -0,0 +1,129 @@ +body { + margin: 0; + padding: 0; + border: 0; + color: #1E1E1E; + font-size: 13px; + font-family: "Segoe UI", Helvetica, Arial, sans-serif; + line-height: 1.45; + word-wrap: break-word; +} + +/* General & 'Reset' Stuff */ + + +.container { + width: 980px; + margin: 0 auto; +} + +section { + display: block; + margin: 0; +} + +h1, h2, h3, h4, h5, h6 { + margin: 0; +} + +/* Header,
+ header - container + h1 - project name + h2 - project description +*/ + +#header { + color: #FFF; + background: #68217a; + position:relative; +} +#hangcloud { + width: 190px; + height: 160px; + background: url("../images/bannerart03.png"); + position: absolute; + top: 0; + right: -30px; +} +h1, h2 { + font-family: "Segoe UI Light", "Segoe UI", Helvetica, Arial, sans-serif; + line-height: 1; + margin: 0 18px; + padding: 0; +} +#header h1 { + font-size: 3.4em; + padding-top: 18px; + font-weight: normal; + margin-left: 15px; +} + +#header h2 { + font-size: 1.5em; + margin-top: 10px; + padding-bottom: 18px; + font-weight: normal; +} + + +#main_content { + width: 100%; + display: flex; + flex-direction: row; +} + + +h1, h2, h3, h4, h5, h6 { + font-weight: bolder; +} + +#main_content h1 { + font-size: 1.8em; + margin-top: 34px; +} + + #main_content h1:first-child { + margin-top: 30px; + } + +#main_content h2 { + font-size: 1.4em; + font-weight: bold; +} +p, ul { + margin: 11px 18px; +} + +#main_content a { + color: #06C; + text-decoration: none; +} +ul { + margin-top: 13px; + margin-left: 18px; + padding-left: 0; +} + ul li { + margin-left: 18px; + padding-left: 0; + } +#lpanel { + width: 620px; + float: left; +} +#rpanel ul { + list-style-type: none; + width: 300px; +} + #rpanel ul li { + line-height: 1.8em; + } +#rpanel { + background: #e7e7e7; + width: 360px; + float: right; +} + +#rpanel div { + width: 300px; +}