GitHub Extension for Visual Studio
Перейти к файлу
Jamie Cansdale 03eae57df7 Use ArtifactDirectory instead of MatrixName 2019-10-10 12:24:07 +01:00
.github/ISSUE_TEMPLATE Rename translation to localization 2019-03-07 09:29:54 -05:00
.ncrunch Fix intermittent failure with libgit2sharp. 2018-10-18 16:40:43 +02:00
docs Fixed typo 2019-05-04 22:04:20 +01:00
lib Add close glyph to GitHub dialogs 2019-05-17 12:05:04 +01:00
scripts Update all VSIX versions 2019-05-01 12:20:12 +01:00
src Clarify error message 2019-10-09 10:04:57 +01:00
submodules Disable SourceLink to prevent random CI fails 2019-09-27 12:38:15 +01:00
test Add option to enable VS Telemetry on UsageTracker 2019-09-30 13:06:08 +01:00
tools Setup azure pipelines without VSTest. 2018-11-29 11:57:52 +01:00
.editorconfig Add new line 2018-10-30 11:03:20 +00:00
.gitattributes Let's get this party started! 2014-12-12 10:15:45 -08:00
.gitignore Merge branch 'master' into patch-2 2019-04-16 10:43:47 -04:00
.gitmodules Remove the private script submodule 2019-10-08 11:47:27 +01:00
CODE_OF_CONDUCT.md Add Code of Conduct 2018-11-18 16:51:31 +03:00
CONTRIBUTING.md Merge pull request #2063 from MrVitaly/code_of_conduct 2018-11-22 15:25:47 +01:00
Directory.Build.Props Bump version to 2.10.8 2019-10-03 22:33:09 +01:00
GitHubVS.sln Update .vsixmanifest from GitHub.VisualStudio.Vsix 2019-02-07 11:39:31 +00:00
GitHubVS.v3.ncrunchsolution Allow parallel test execution in ncrunch. 2018-10-18 16:39:59 +02:00
Key.snk Include assembly key in repository 2019-10-08 10:44:04 +01:00
LICENSE.md Merge pull request #862 from Phineas/patch-1 2017-02-16 02:31:06 +01:00
README.md Disabling crowdin 2019-03-07 06:48:06 -05:00
appveyor.yml Bump version to 2.10.8 2019-10-03 22:33:09 +01:00
azure-pipelines.yml Use ArtifactDirectory instead of MatrixName 2019-10-10 12:24:07 +01:00
build.cmd Fix build/install to match README.md 2017-11-24 17:08:13 +00:00
clean.cmd Back at it again with the overengineering 2018-12-13 12:04:44 -08:00
codecov.yml Excluding sqlite-net from codecov reports 2018-10-18 09:58:39 -04:00
deploy-local.cmd Remove unused flag 2017-08-04 15:33:49 +02:00
global.json Backtrack to using 1.6.61 and ExtrasEnableWpfProjectSetup 2019-02-01 16:36:00 +00:00
install.cmd Fix build/install to match README.md 2017-11-24 17:08:13 +00:00
nuget.config Setup azure pipelines without VSTest. 2018-11-29 11:57:52 +01:00
test.cmd Make test.cmd execute scripts\test.ps1 2017-12-20 10:02:03 +00:00

README.md

GitHub Extension for Visual Studio

Notices

If you are having issues with the installer, please read

If you need to upgrade, downgrade, or uninstall the extension, and are having problems doing so, refer to this issue: https://github.com/github/VisualStudio/issues/1394 which details common problems and solutions when using the installer.

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.

About

The GitHub Extension for Visual Studio provides GitHub integration in Visual Studio 2015 and newer. 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.

Build status Build Status codecov

Follow GitHub for Visual Studio 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.

Build requirements

  • Visual Studio 2017 (15.7.4)+
  • Visual Studio SDK
  • The built VSIX will work with Visual Studio 2015 or newer

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

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

Build using Visual Studio 2017 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

The following can be executed via cmd.exe.

To build and install a Debug configuration VSIX:

build.cmd Debug
install.cmd Debug

To build and install a Release configuration VSIX:

build.cmd Release
install.cmd Release

Logs

Logs can be viewed at the following location:

%LOCALAPPDATA%\GitHubVisualStudio\extension.log

Troubleshooting

If you have issues building with failures similar to:

"The type or namespace name does not exist..."

or

"Unable to find project... Check that the project reference is valid and that the project file exists."*

Close Visual Studio and run the following command to update submodules and clean your environment.

clean.cmd

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 Contributor Covenant Code of Conduct for details on how to participate.

Copyright 2015 - 2018 GitHub, Inc.

Licensed under the MIT License