gpt4 book ai didi

tfs - checkin 时 Visual Studio 崩溃

转载 作者:行者123 更新时间:2023-12-04 14:33:01 25 4
gpt4 key购买 nike

当我每次尝试 checkin 待处理的更改时,我的 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)

最佳答案

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

清理客户端计算机上的缓存文件夹。文件夹路径为:C:\Users\username\AppData\Local\Microsoft\Team Foundation\5.0\Cache.
清理服务器机器上的缓存文件夹。文件夹路径为:C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v11.0
清理干净后,在Server机器上,点击开始,选择运行...打开对话框,输入iisreset.exe并单击确定,等待它完全运行。

关于tfs - checkin 时 Visual Studio 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23587666/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com