积极答复者
Visual Studio 2015 创建或打开项目崩溃,提示已停止工作

问题
-
Visual Studio 2015 创建或打开项目崩溃,提示已停止工作。只要一打开代码页就崩溃
突然出现的问题,之前就更新了一下windows10 的一个补丁KB3081438,有可能是个这个更新导致的,但是我把补丁卸载了,问题还是一样。修复vs2015 也不行
创建打开c++,javascript的项目没问题,估计和。net 有关,只是不知道怎么处理
我查看了一下windows日志,看起来像是只能感知的错误,但是不知道怎么解决
- System - Provider [ Name] .NET Runtime - EventID 1026 [ Qualifiers] 0 Level 2 Task 0 Keywords 0x80000000000000 - TimeCreated [ SystemTime] 2015-08-16T14:06:44.000000000Z EventRecordID 72450 Channel Application Computer cj Security - EventData 应用程序: devenv.exe Framework 版本: v4.0.30319 说明: 由于未经处理的异常,进程终止。异常信息: System.NullReferenceException 堆栈: 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService+<>c__DisplayClass22_0.<CreateIndicator>b__0() 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensDataPointTemplateService.CreateIndicator(Microsoft.VisualStudio.Language.Intellisense.ICodeLensDescriptor, System.String, System.Func`1<Microsoft.VisualStudio.Language.Intellisense.ICodeLensDataPointViewModelReference>) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.CreateIndicator(Microsoft.VisualStudio.Language.Intellisense.ICodeLensDescriptor, System.Lazy`2<Microsoft.VisualStudio.Language.Intellisense.ICodeLensDataPointProvider,Microsoft.VisualStudio.Language.Intellisense.ICodeLensDataPointProviderMetadata>) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService+IndicatorCollection.UpdateTemplateCollection() 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService+IndicatorCollection.Connect() 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService+IndicatorCollection..ctor(Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService, Microsoft.VisualStudio.Language.Intellisense.ICodeLensDescriptor) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.CreateIndicatorCollection(Microsoft.VisualStudio.Language.Intellisense.ICodeLensDescriptor) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensAdornmentViewModelProvider.CreateAdornmentViewModel(Microsoft.VisualStudio.Language.Intellisense.ICodeLensDescriptor) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensAdornmentCache.GetOrCreateCacheEntry(Microsoft.VisualStudio.Language.Intellisense.ICodeLensTag) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensAdornmentCache.GetOrCreateAdornment(Microsoft.VisualStudio.Language.Intellisense.ICodeLensTag) 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider+CodeLensInterLineAdornmentTagger+AdornmentHost.TryConnectAdornment() 在 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider+CodeLensInterLineAdornmentTagger.CreateDelayedAdornments(System.Object, System.EventArgs) 在 System.Windows.Threading.DispatcherTimer.FireTick(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.DispatcherOperation.InvokeImpl() 在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 在 System.Windows.Threading.DispatcherOperation.Invoke() 在 System.Windows.Threading.Dispatcher.ProcessQueue() 在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
- 已编辑 Jaord1 2015年8月16日 15:11
答案
-
你的意思是之前是正常的,对吧?所有.NET程序都有这个问题吗?
如果你在安全模式下运行,结果如何?这样可以确定是不是插件的问题。
https://msdn.microsoft.com/zh-cn/library/ms241278.aspx
你可以确认一下是不是.NET安装有问题:
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已建议为答案 Jack Zhai-MSFTMicrosoft contingent staff, Moderator 2015年8月24日 15:38
- 已标记为答案 Jack Zhai-MSFTMicrosoft contingent staff, Moderator 2015年8月26日 11:32