101*_*ris 7 tfs visual-studio-2010
我们多年来一直在这台机器上使用vs 2010(服务器2003),现在视觉工作室刚刚开始在启动时崩溃.根本没有办法运行它,它每次都会崩溃.
我已经尝试过Devenv.exe/SafeMode,resetsettings等相同的结果.我已经尝试重新安装vs2010,我已经尝试卸载并重新安装,同样的事情.
事件日志说它与团队基础服务器有关:
EventType clr20r3,P1 devenv.exe,P2 10.0.30319.1,P3 4ba1fab3,P4 microsoft.teamfoundation.common,P5 10.0.0.0,P6 502e379e,P7 4b6,P8 45,P9 system.missingmethodexception,P10 NIL.
堆栈跟踪也有错误:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
Stack:
at Microsoft.VisualStudio.TeamFoundation.TeamFoundationHost+AuthenticateWorker.WorkCompleted(System.Object, System.Object, System.ComponentModel.AsyncCompletedEventArgs)
at Microsoft.TeamFoundation.Common.TfsBackgroundWorkerManager.worker_RunWorkerCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at System.Threading.ExecutionContext.runTryCode(System.Object)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Run Code Online (Sandbox Code Playgroud)
我们确实使用TFS并且没有任何问题.
关于为什么会这样开始发生的任何想法,更重要的是,我该如何解决这个问题?没有tfs组件似乎没有任何方法可以启动visual studio,无论如何我们还需要tfs.
小智 21
以下为我工作
关闭VS的所有实例
转到[系统驱动器]:\用户[用户名]\AppData \漫游\ Microsoft\VisualStudio\10.0
从上面的文件夹中删除所有文件和文件夹.
并重新打开VS,一切都应该恢复正常.
问题似乎是 Windows 更新与安装的 Team Foundation Server 2010 Power Tools 不兼容。当我安装最新版本的电动工具时,VS 不再崩溃。
http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f
我已经删除了所有这些,但我想......谁知道......
| 归档时间: |
|
| 查看次数: |
11511 次 |
| 最近记录: |