This repository was archived by the owner on Jun 21, 2023. It is now read-only.
  
  
  
  
  
Description
Version
- GitHub Extension for Visual Studio  version:
 2.4.0.1161
- Visual Studio version:
 Microsoft Visual Studio Community 2015
 Version 14.0.25431.01 Update 3
What happened
I try to create a GitHub or ghe.io repository in VS2015, but nothing happens after I press the create button.

In the log, I see:
System.InvalidOperationException: Could not locate any instances of contract Microsoft.TeamFoundation.Git.Controls.Extensibility.IGitRepositoriesExt.
   at GitHub.VisualStudio.GitHubServiceProvider.GetService(Type serviceType) in C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:line 192
   at GitHub.VisualStudio.GitHubServiceProvider.GetService[T]() in C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:line 198
   at GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() in C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:line 61
   at GitHub.Services.VSGitServices.<Clone>d__5.MoveNext() in C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GitHub.Services.RepositoryCloneService.<CloneRepository>d__6.MoveNext() in C:\projects\visualstudio\src\GitHub.App\Services\RepositoryCloneService.cs:line 66```
**Note:** This is only a problem with VS2015 and VS2017 works as expected.