检查时Visual Studio崩溃

Tug*_*lay 5 tfs checkin visual-studio-2013 tfs2013

当我每次尝试检查挂起的更改时,我的Visual Studio 2013崩溃了.我该如何解决?

崩溃日志:

System.UnauthorizedAccessException: Package 'SccProviderPackage' failed to load.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
   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)
Run Code Online (Sandbox Code Playgroud)

Tug*_*lay 5

我已经用这些步骤修复了它;

清理客户端计算机上的缓存文件夹.文件夹路径是:C:\Users\username\AppData\Local\Microsoft\Team Foundation\5.0\Cache.

清理服务器计算机上的缓存文件夹.文件夹路径是:C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v11.0

清理后,在服务器计算机上,单击"开始",然后选择"运行..."以打开对话框,然后输入iisreset.exe并单击"确定",等待它完全运行.


MrH*_*ood 1

您安装的 Visual Studio 似乎已损坏。您可以尝试从“添加/删除程序”中“修复”它。如果这不起作用,您可能需要卸载并重新安装。

您应该从http://www.microsoft.com/en-us/download/details.aspx?id=42666 o9r MSDN获取最新的二进制文件。