签入时 Visual Studio 崩溃 [英] Visual Studio Crashing When Checking In

查看:61
本文介绍了签入时 Visual Studio 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次尝试签入待处理的更改时,我的 Visual Studio 2013 都崩溃了.我该如何解决?

My Visual Studio 2013 is crashing when I trying to check in my pending changes everytime. How can I solve it?

崩溃日志:

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)

推荐答案

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

I have fixed it with these steps;

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

Clean the Cache folder on client computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\5.0\Cache.

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

Clean the Cache folder on Server machine. The folder path is: C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v11.0

清理干净后,在Server机器上,点击Start并选择Run...打开对话框,然后输入iisreset.exe点击OK,等待运行完毕.

After cleaned, on Server machine, click Start and select Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.

这篇关于签入时 Visual Studio 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆