Skip to content

Latest commit

 

History

History
 
 

Reference_Package

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Reference Package Sample

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

  • Technologies: Visual Studio 2015 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 2015

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