VSSDK-Extensibility-Samples/ArchivedSamples/Reference_Package
Mads Kristensen 7df02c2d1b Renamed archive folder 2018-05-22 14:51:15 -07:00
..
C# Renamed archive folder 2018-05-22 14:51:15 -07:00
Readme.md Renamed archive folder 2018-05-22 14:51:15 -07:00

Readme.md

Reference Package Sample

Provides the minimum requirements that a package needs to work as an extension in Visual Studio.

  • Technologies: Visual Studio 2017 SDK
  • Topics: Visual Studio Shell, VSX

** Description**

This sample demonstrates how to add an entry into the Visual Studio Help dialog. This is the bare minimum requirement for a functional Visual Studio Package.

image

Requirements

Visual Studio 2017

Get all samples

Clone the repo (How to):

git clone https://github.com/Microsoft/VSSDK-Extensibility-Samples.git

Run the sample

  1. To run the sample, hit F5 or choose the Debug > Start Debugging menu command. A new experimental instance of Visual Studio will launch.
  2. Once loaded, navigate to Help > About Microsoft Visual Studio.
  3. There is a new entry on the list titled C# Package Reference Sample.

Project Files

  • AssemblyInfo.cs

This file contains assembly custom attributes.

  • BasicPackage.cs

This file contains the Package implementation. Adds a new entry in the Help>About dialog.

Functional Tests

  • Verify the sample builds in all configurations
  • Verify that the sample was registered. The About box should list the product as installed
  • Verify that the example can be uninstalled from Tools > Extensions and Updates

Related topics