title: Visual Studio 2015 crashes
body: <p><strong>Visual studio that won't be repaired...</strong><br>
  Everytime I want to compile an app on vs 2015 - it crashes. Even if I want to compile the main function or write somthing to it, there appears a window, which says </p>
  
  <blockquote>
    <p><em>Visual Studio 2015 has stopped working</em></p>
  </blockquote>
  
  <p>It goes same on 2013 Express version.
  I have a clue why it won't work: when I open Team Explorer, an error appears:   </p>
  
  <blockquote>
    <p>Page '3185ed96-1cbd-4381-a439-636973542e50' not found.</p>
  </blockquote>
  
  <p>I tried everything I have found in the internet and trust me - nothing worked.
  I also tried some command prompt commands:</p>
  
  <pre><code>devenv.exe/ debug  
  devenv.exe/ resetsettings  
  devenv.exe/ instalvstemplates  
  devenv.exe/ resetskippings  
  devenv.exe/ resetuserdata  
  devenv.exe/ setup  
  devenv.exe/ safemode  
  </code></pre>
  
  <p><strong>Debug mode gave me some info about the error:</strong></p>
  
  <p>An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dll</p>
  
  <p>Additional information: The service '<code>Microsoft.Internal.VisualStudio.Shell.Interop.SVsUIThreadInvokerPrivate</code>' must be installed for this feature to work.  Ensure that this service is available. HRESULT = 0x80004002</p>
  
  <p>An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\admin\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml".</p>
  
  <pre><code>Exception details:
  System.ArgumentException: Parametr is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
     at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
     at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
     at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
     at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
     at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid&amp; toolWindowType, Int32 id)
     at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid&amp; toolWindowType, UInt32 id)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
  </code></pre>
  
  <p><strong>But still nothing I was able to find has worked.</strong></p>
  
  <p>I reinstalled VS and repaired it - still nothing.
  Then I have downloaded some .dlls, microsoft visual c++ redistributable packages and used Ccleaner to clean registry.
  I think it's a very strange error; if you could advise me on a fix please? </p>