title: VS 2015 RC: Git integration crashed
body: <p>Suddenly, Visual Studio started showing this error at startup: "SccProviderPackage failed to load".</p>
  
  <p>Also, the Team Explorer window stopped showing the proper section for Git. </p>
  
  <p><strong>I've repaired the installation, uninstalled/installed VS and restarted several times. NOTHING fixes the issue.</strong></p>
  
  <p>Please, notice that it's Visual Studio 2015 RC.</p>
  
  <p>The activity log (ActivityLog.xml) says this:</p>
  
  <ul>
  <li>174  Begin package load [<strong>SccProviderPackage</strong>] {7FE30A77-37F9-4CF2-83DD-96B207028E1B}  VisualStudio 2015/06/15 09:31:26.510 </li>
  <li>175 <strong>ERROR</strong> <strong>SetSite</strong> failed for package [<strong>SccProviderPackage</strong>] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} 80131500 VisualStudio 2015/06/15 09:31:26.556 </li>
  <li>176 <strong>ERROR</strong> End package load [<strong>SccProviderPackage</strong>] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} 80131500 VisualStudio 2015/06/15 09:31:26.561 </li>
  </ul>
  
  <p>The Team Explorer window shows this:</p>
  
  <p><img src="https://i.stack.imgur.com/XQgii.png" alt="Team Explorer"></p>
  
  <hr>
  
  <blockquote>
    <p>System.InvalidOperationException: Operation is not valid due to the
    current state of the object.    at
    System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
    errorCode, IntPtr errorInfo)    at
    Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsurePackageLoaded(IServiceProvider
    serviceProvider, Guid packageGuid)    at
    Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsureSccAndTfPackagesLoaded(IServiceProvider
    serviceProvider)    at
    Microsoft.TeamFoundation.Git.Provider.Repositories.GitTeamProjectExtendedInfoProvider.set_ServiceProvider(IServiceProvider
    value)    at
    Microsoft.VisualStudio.TeamFoundation.TeamExplorer.ConnectPage.ConnectPageVS.Initialize(Object
    sender, PageInitializeEventArgs e)    at
    Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerPageHost.Initialize(TeamExplorerPageContext
    context)</p>
  </blockquote>