Skip to content

madskristensen/AsyncToolWindowSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async Tool Window example

Build status

Applies to Visual Studio 2017.6 and newer

This sample shows how to provide an Async Tool Window in a Visual Studio extension.

Clone the repo to test out the sample in Visual Studio 2017 yourself.

Tool Window

Specify minimum supported version

Since protocol handler support is new in Visual Studio 2017 Update 6, we need to specify that our extension requires that version or newer. We do that in the .vsixmanifest file like so:

<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0.27413, 16.0)" />

15.0.27413 is the full version string of Visual Studio 2017 Update 6.

See the full sample .vsixmanifest file.

This sample

The code in this sample contains the concepts:

  1. Custom Tool Window Pane
  2. XAML control for the pane
  3. Custom command that can show the tool window
  4. AsyncPackage class that glues it all together

Follow the links above directly into the source code to see how it is all hooked up.

Further reading

Read the docs for all the details surrounding these scenarios.

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages