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:

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!
source share