2015-07-19 08:15:44 +03:00
# GitHub Extension for Visual Studio
2017-08-31 12:11:29 +03:00
## About
2017-01-31 15:13:34 +03:00
2018-12-26 01:54:02 +03:00
The GitHub Extension for Visual Studio provides GitHub integration in Visual Studio 2015 and newer.
2015-07-19 08:15:44 +03:00
Most of the extension UI lives in the Team Explorer pane, which is available from the View menu.
2019-11-07 15:58:18 +03:00
Official builds of this extension are available at the [Visual Studio Marketplace ](https://marketplace.visualstudio.com/items?itemName=GitHub.GitHubExtensionforVisualStudio ).
2015-07-19 08:15:44 +03:00
2019-11-07 15:53:20 +03:00
[![Build Status ](https://github-editor-tools.visualstudio.com/VisualStudio/_apis/build/status/github.VisualStudio?branchName=master )](https://github-editor-tools.visualstudio.com/VisualStudio/_build/latest?definitionId=10& branchName=master)
2017-11-09 02:38:05 +03:00
2019-01-25 12:33:42 +03:00
[![Follow GitHub for Visual Studio ](https://img.shields.io/twitter/follow/GitHubVS.svg?style=social "Follow GitHubVS" )](https://twitter.com/githubvs?ref_src=twsrc%5Etfw) [![Join the chat at https://gitter.im/github/VisualStudio ](https://badges.gitter.im/Join%20Chat.svg )](https://gitter.im/github/VisualStudio?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2016-01-19 22:13:31 +03:00
2017-04-11 21:41:09 +03:00
## Documentation
Visit the [documentation ](https://github.com/github/VisualStudio/tree/master/docs ) for details on how to use the features in the GitHub Extension for Visual Studio.
2015-07-19 08:15:44 +03:00
## Build requirements
2019-11-07 15:59:03 +03:00
* Visual Studio 2019
2015-07-19 08:15:44 +03:00
* Visual Studio SDK
2019-01-28 18:24:52 +03:00
* The built VSIX will work with Visual Studio 2015 or newer
2015-07-19 08:15:44 +03:00
## Build
2019-11-07 17:19:07 +03:00
Clone the repository and its submodules.
2015-07-19 08:15:44 +03:00
2019-11-07 17:19:07 +03:00
Open the `GitHubVS.sln` solution with Visual Studio 2019.
2015-07-19 08:15:44 +03:00
To be able to use the GitHub API, you'll need to:
2019-11-07 17:19:07 +03:00
- [Register a new developer application ](https://github.com/settings/developers ) in your profile
- Create an environment variable `GitHubVS_ClientID` with your `Client ID`
- Create an environment variable `GitHubVS_ClientSecret` with your `Client Secret`
2017-02-28 18:15:40 +03:00
2019-11-07 17:19:07 +03:00
Build using Visual Studio 2019.
2017-03-02 12:43:26 +03:00
2018-08-17 19:41:30 +03:00
## Logs
Logs can be viewed at the following location:
`%LOCALAPPDATA%\GitHubVisualStudio\extension.log`
2017-03-02 12:43:26 +03:00
2018-12-13 22:22:39 +03:00
## Troubleshooting
2018-12-13 22:26:29 +03:00
If you have issues building with failures similar to:
2018-12-13 22:22:39 +03:00
2018-12-13 22:26:29 +03:00
> "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."*
2018-12-13 22:31:15 +03:00
Close Visual Studio and run the following command to update submodules and clean your environment.
2018-12-13 22:22:39 +03:00
```txt
clean.cmd
```
2017-01-27 15:21:16 +03:00
## More information
- Andreia Gaita's [presentation ](https://www.youtube.com/watch?v=hz2hCO8e_8w ) at Codemania 2016 about this extension.
2015-07-19 08:15:44 +03:00
## Contributing
2018-11-20 01:20:59 +03:00
Visit the [Contributor Guidelines ](CONTRIBUTING.md ) for details on how to contribute as well as the [Contributor Covenant Code of Conduct ](CODE_OF_CONDUCT.md ) for details on how to participate.
2015-07-19 08:15:44 +03:00
## Copyright
2018-06-22 11:31:58 +03:00
Copyright 2015 - 2018 GitHub, Inc.
2015-07-19 08:15:44 +03:00
Licensed under the [MIT License ](LICENSE.md )