我做了Windows升级到新的周年纪念更新而不丢失我的文件(我选择只摆脱我的应用程序和设置)。一切都很顺利,我用Windows恢复了我的文件。自从Windows周年更新以来,Visual Studio 2015一直在启动时崩溃
我决定重新安装我的应用程序,然后是安装Visual Studio 2015的时候了,因为我仍然有ISO说谎。我安装了映像并开始安装,选择安装所有东西(而非定制),它进行得非常顺利,现在是启动visual studio的时候了,我点击启动按钮并启动visual studio,但在显示实际界面时发生崩溃。
我被吓了一跳,重新启动了Visual Studio,但它仍然与经典的Windows对话框一起崩溃。
Visual Studio 2015 has stopped working
没什么可描述错误,绝对没问题,我决定力IOBIT卸载程序也被删除注册表项卸载它做的Visual Studio卸载干净。第二次再次重新安装Visual Studio时,我又重新启动了,同样的事情又发生了。
我看着日志,发现一些有趣的东西。它看起来与Visual Studio开始时的Team Explorer有关,但我不确定到底发生了什么。日志的
有关部分
<entry>
<record>131</record>
<time>2016/08/22 12:48:06.226</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Construction of frame content failed.
Frame identifier: ST:0:0:{131369f2-062d-44a2-8671-91ff31efb4f4}
Frame caption: Team Explorer
Exception details:
System.ArgumentException: Converter requires 11 source parameters.
 at Microsoft.VisualStudio.PlatformUI.MultiValueConverterBase`1.ValidateConvertParameters(Object[] values, Type targetType)
 at Microsoft.VisualStudio76.PlatformUI.MultiValueConverter`12.Convert(Object[] values, Type targetType, Object parameter, CultureInfo culture)
 at System.Windows.Data.MultiBindingExpression.TransferValue()
 at System.Windows.Data.MultiBindingExpression.Transfer()
 at System.Windows.Data.MultiBindingExpression.UpdateTarget(Boolean includeInnerBindings)
 at System.Windows.Data.MultiBindingExpression.AttachToContext(Boolean lastChance)
 at System.Windows.Data.MultiBindingExpression.AttachOverride(DependencyObject d, DependencyProperty dp)
 at System.Windows.Data.BindingExpressionBase.OnAttach(DependencyObject d, DependencyProperty dp)
 at System.Windows.StyleHelper.GetInstanceValue(UncommonField`1 dataField, DependencyObject container, FrameworkElement feChild, FrameworkContentElement fceChild, Int32 childIndex, DependencyProperty dp, Int32 i, EffectiveValueEntry& entry)
 at System.Windows.StyleHelper.GetChildValueHelper(UncommonField`1 dataField, ItemStructList`1& valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
 at System.Windows.StyleHelper.GetChildValue(UncommonField`1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList`1& childRecordFromChildIndex, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
 at System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry& entry)
 at System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)
 at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
 at System.Windows.StyleHelper.DoThemeStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style style)
 at System.Windows.StyleHelper.UpdateThemeStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style& themeStyleCache)
 at System.Windows.FrameworkElement.OnThemeStyleChanged(DependencyObject d, Object oldValue, Object newValue)
 at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
 at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
 at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
 at System.Windows.FrameworkElement.TryFireInitialized()
 at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
 at System.Windows.FrameworkElement.AddLogicalChild(Object child)
 at System.Windows.Controls.ContentControl.OnContentChanged(Object oldContent, Object newContent)
 at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)
 at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
 at System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)
 at System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
 at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at System.Windows.FrameworkElement.SetResourceReference(DependencyProperty dp, Object name)
 at Microsoft.VisualStudio.PlatformUI.Utility.SelectStyleForItem(FrameworkElement element, Object item, IExposeStyleKeys styleKeySource, Boolean deferIfInvisible)
 at Microsoft.VisualStudio.PlatformUI.VsToolBar.PrepareContainerForItemOverride(DependencyObject element, Object item)
 at System.Windows.Controls.ItemsControl.MS.Internal.Controls.IGeneratorHost.PrepareItemContainer(DependencyObject container, Object item)
 at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.PrepareItemContainer(DependencyObject container)
 at System.Windows.Controls.Panel.GenerateChildren()
 at System.Windows.Controls.Primitives.ToolBarPanel.GenerateChildren()
 at System.Windows.Controls.Panel.EnsureGenerator()
 at System.Windows.Controls.Panel.get_InternalChildren()
 at System.Windows.Controls.Primitives.ToolBarPanel.MeasureGeneratedItems(Boolean asNeededPass, Size constraint, Boolean horizontal, Double maxExtent, Size& panelDesiredSize, Double& overflowExtent)
 at System.Windows.Controls.Primitives.ToolBarPanel.MeasureOverride(Size constraint)
 at Microsoft.VisualStudio.PlatformUI.VsToolBarPanel.MeasureWithCollapsePrevention(Size constraint)
 at Microsoft.VisualStudio.PlatformUI.VsToolBarPanel.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at System.Windows.Controls.Border.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
 at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
 at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
 at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at System.Windows.Controls.Control.MeasureOverride(Size constraint)
 at System.Windows.Controls.ToolBar.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at System.Windows.Controls.ToolBarTray.MeasureOverride(Size constraint)
 at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
 at System.Windows.UIElement.Measure(Size availableSize)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.AdjustSearchControlPlacement()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.AddTopToolbarTray(VsToolWindowToolBarTray tray)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.AddToolbarTray(VsToolWindowToolBarTray tray, VSTWT_LOCATION location)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrameToolbarHost.OnToolbarTrayCreated(VsToolWindowToolBarTray newTray, VSTWT_LOCATION location)
 at Microsoft.VisualStudio.Platform.WindowManagement.BaseToolbarHost.AddToolbar(UInt64 id, VSTWT_LOCATION location, IDropTarget dropTarget, IOleCommandTarget commandTarget, Boolean copyToolbarData)
 at Microsoft.VisualStudio.Platform.WindowManagement.BaseToolbarHost.AddToolbar3(VSTWT_LOCATION location, Guid& toolbarGuid, UInt32 toolbarId, IDropTarget dropTarget, IOleCommandTarget commandTarget)
 at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
 at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
 at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
 at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
</entry>
全部日志Here
我曾尝试推出的Visual Studio标志不同:
devenv /safemode
,devenv /restsettings
等。
它们都以Visual Studio在启动时每次崩溃时开始。
看在事件日志有关崩溃的细节和pst在那里记录的callstack – magicandre1981
@ jessehouwing非常感谢您的评论,我试图修复安装,但没有解决它。但我现在尝试下载更新3并测试它是否修复它。 –
@jessehouwing我刚刚安装了更新3,安装程序安装正常,但完成了一些错误和警告,我设法截图:http://imgur.com/lLSpa3f但visual studio仍然在启动时崩溃,这些是新的日志:https://gist.github.com/f3yisayo/8de73ed3aa931f55b9231cf4a9f504ad/raw/ae731905905b6b8fd5b57411df92e79a38f432aa/error2.txt –