GitHub Extension for Visual Studio
Перейти к файлу
Andreia Gaita 5aee447907 Always bump versions when releasing 2017-08-04 15:31:47 +02:00
.ncrunch Merge remote-tracking branch 'origin/master' into fixes/726-markdig 2017-07-07 10:42:01 +02:00
docs add image descriptions to remaining docs 2017-04-11 09:21:49 -04:00
documentation Updated test manifest. 2017-02-28 18:34:49 +01:00
lib Switch to a custom nuget package of Rothko 2017-07-26 15:51:38 +02:00
script@1126a7fae9 Always bump versions when releasing 2017-08-04 15:31:47 +02:00
scripts
src Check for existence of internal signing key when determining if it's an internal build 2017-08-04 14:28:35 +02:00
submodules Switch to a custom nuget package of Rothko 2017-07-26 15:51:38 +02:00
test Merge branch 'master' into fixes/863-fork-pull-requests 2017-07-31 15:34:39 +02:00
tools/VsixUtil Add update script to reinstall extension 2017-02-28 14:39:06 +00:00
.editorconfig
.gitattributes
.gitignore
.gitmodules Switch to a custom nuget package of Rothko 2017-07-26 15:51:38 +02:00
Build-Solution.cmd
Build-Solution.ps1
CONTRIBUTING.md
GitHubVS.sln Merge remote-tracking branch 'origin/master' into fixes/863-fork-pull-requests 2017-07-31 15:06:58 +02:00
GitHubVS.v3.ncrunchsolution Fix ncrunch build. 2017-07-31 17:48:39 +02:00
ISSUE_TEMPLATE.md
LICENSE.md Merge pull request #862 from Phineas/patch-1 2017-02-16 02:31:06 +01:00
README.md Add signing alternative for external builds 2017-08-03 23:29:18 +02:00
appveyor.yml Revert "Add GitHub.VisualStudio.vsix to appveyor artifacts" 2017-03-06 12:57:21 -08:00
build.cmd Add IsProductComponent/IsExperimental properties 2017-03-02 09:43:26 +00:00
deploy-local.cmd Always bump versions when releasing 2017-08-04 15:31:47 +02:00
install.cmd Add IsProductComponent/IsExperimental properties 2017-03-02 09:43:26 +00:00
nuget.config
test.cmd Add `test.cmd` to run unit tests 2017-02-28 14:39:09 +00:00

README.md

GitHub Extension for Visual Studio

The location of the submodules has changed as of 31-01-2017. If you have an existing clone, make sure to run git submodule sync to update your local clone with the new locations for the submodules.

The GitHub Extension for Visual Studio provides GitHub integration in Visual Studio 2015. Most of the extension UI lives in the Team Explorer pane, which is available from the View menu.

Official builds of this extension are available at the official website.

Join the chat at freenode:github-vs Join the chat at https://gitter.im/github/VisualStudio

Documentation

Visit the documentation for details on how to use the features in the GitHub Extension for Visual Studio.

Installing beta versions

Older and pre-release/beta/untested versions are available at the releases page, and also via a custom gallery feed for Visual Studio.

You can configure the gallery by going to Tools / Options / Extensions and Updates and adding a new gallery with the url https://visualstudio.github.com/releases/feed.rss. The gallery will now be available from Tools / Extensions and Updates.

Beta releases will have (beta) in their title in the gallery, following the version number. You can view the release notes in the gallery by hovering over the description, or by clicking the Release Notes link on the right side.

Build requirements

  • Visual Studio 2015+
  • Visual Studio SDK

Build

Clone the repository and its submodules in a git GUI client or via the command line:

git clone https://github.com/github/VisualStudio
cd VisualStudio
git submodule init
git submodule deinit script
git submodule update

Visual Studio extensions have to be signed, so you need to create a signing key with the name publickey.snk for your build in the root of the repository:

sn -k `publickey.snk`

Open the GitHubVS.sln solution with Visual Studio 2015+. To be able to use the GitHub API, you'll need to:

Build using Visual Studio 2015 or:

build.cmd

Install in live (non-Experimental) instances of Visual Studio 2015 and 2017:

install.cmd

Note, the script will only install in one instance of Visual Studio 2017 (Enterprise, Professional or Community).

Build Flavors

By default, building will create a VSIX with Experimental="true" and AllUsers="false" in its extension.vsixmanifest. These settings are necessary in order to easily install a standalone VSIX file. There is no need to uninstall the version previously installed via Visual Studio setup / Extensions and Updates.

The following can be executed via cmd.exe.

To build and install a Debug configuration VSIX:

build.cmd
install.cmd

To build and install a Release configuration VSIX:

set Configuration=Release
build.cmd
install.cmd

To build a VSIX that can be installed via a gallery feed on Extensions and Updates:

set Configuration=Release
set IsExperimental=false
build.cmd

Note, attempting to install IsExperimental=false builds of the VSIX is not recommended.

More information

  • Andreia Gaita's presentation at Codemania 2016 about this extension.

Contributing

Visit the Contributor Guidelines for details on how to contribute as well as the Open Code of Conduct for details on how to participate.

Copyright 2015 - 2017 GitHub, Inc.

Licensed under the MIT License