You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Clone from VS 2019 Clone dialog doesnt work on First Launch #2218
I think the issue is that when Visual Studio is launched for the very first time, no source control plug-in has been set. The current source control plug-in will automatically change to Git when a solution is opened from a Git repository.
We can repo this by changing the current source control plug-in to None:
Relaunch Visual Studio and attempt to clone a repository using Clone or check out code > GitHub > Clone. The following will appear in the log:
2019-02-06 09:47:47.720 [12532] EROR [01] RepositoryCloneService Could not clone https://github.com/jcansdale/bin to C:\Source\github.com\jcansdale\bin
System.InvalidOperationException: Could not locate any instances of contract Microsoft.VisualStudio.TeamFoundation.Git.Extensibility.IGitActionsExt.
at GitHub.VisualStudio.GitHubServiceProvider.GetService(Type serviceType) in C:\Source\github.com\github\VisualStudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:line 147
at GitHub.VisualStudio.GitHubServiceProvider.GetService[T]() in C:\Source\github.com\github\VisualStudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:line 153
at GitHub.Services.VSGitServices.<Clone>d__7.MoveNext() in C:\Source\github.com\github\VisualStudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:line 92
--- 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 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at GitHub.Services.RepositoryCloneService.<CloneRepository>d__14.MoveNext() in C:\Source\github.com\github\VisualStudio\src\GitHub.App\Services\RepositoryCloneService.cs:line 215
Activity
prasethu commentedon Feb 5, 2019
@jcansdale / @meaghanlewis
//cc: @jekelly
jcansdale commentedon Feb 6, 2019
Damn, well this is a fun bug. 😉
I think the issue is that when Visual Studio is launched for the very first time, no source control plug-in has been set. The current source control plug-in will automatically change to Git when a solution is opened from a Git repository.
We can repo this by changing the current source control plug-in to

None:Relaunch Visual Studio and attempt to clone a repository using
Clone or check out code > GitHub > Clone. The following will appear in the log:I'll start working on a fix.