VS 2015 RC: Git Integration

Suddenly, Visual Studio started showing this error at startup: "SccProviderPackage failed to load."

In addition, the Team Explorer window has stopped showing the corresponding section for Git.

I restored the installation, uninstalled / installed VS and restarted several times. NOTHING fixes the problem.

Please note that this is Visual Studio 2015 RC.

The activity log (ActivityLog.xml) states the following:

  • 174 Start downloading the package [ SccProviderPackage ] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} VisualStudio 2015/06/15 09: 31: 26.510
  • 175 ERROR SetSite failed to run the package [ SccProviderPackage ] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} 80131500 VisualStudio 2015/06/15 09: 31: 26.556
  • 176 ERROR Download final package [ SccProviderPackage ] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} 80131500 VisualStudio 2015/06/15 09: 31: 26.561

The Team Explorer window shows the following:

Team explorer


System.InvalidOperationException: The operation is invalid due to the current state of the object. in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal (Int32 errorCode, IntPtr errorInfo) in Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsurePackageLoaded (IServiceProvider serviceProvider, Guid packageGuid) in Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsureSccAndTfPackagesLoaded (IServiceProvider serviceProvider) at Microsoft.TeamFoundation.Git.Provider.Repositories.GitTeamProjectExtendedInfoProvider.set_ServiceProvider (IServiceProvider value) at Microsoft.VisualStudio.TeamFoundation.TeamExplorer.ConnectPageVit.TemVit.EntitVite.itontalite.ToneVit.IntelTeVT.InitEntalTeVT.InitEntalTeVT.InitEntialVite.itentitVite.itentitVite.itntiteVit.itentitVite.itentitVite.itentitVite.itentitVite.itentitVite.itentitVite.itentalite.Tentalite TeamExplorer.Framework.TeamExplorerPageHost.Initialize (TeamExplorerPageContext context)


I would appreciate any help. Thanks!

+6
source share
1 answer

I had the same problem, look in [Appdata] \ Roaming \ Microsoft \ VisualStudio \ 14.0 \ ActivityLog.xml for links to SccProviderPackage. Should give you error information.

In my case, he was trying to load an old folder in which there was apparently a bad repo. Delete this folder from the file system.

Running this command ensures that all actions are logged:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>Devenv /log 
+15
source

Source: https://habr.com/ru/post/989123/


All Articles