自Windows周年更新

时间:2016-08-22 13:34:16

标签: visual-studio-2015 crash windows-10

我将Windows升级到新的周年纪念更新而不会丢失我的文件(我选择只删除我的应用和设置)。一切都很顺利,我的Windows文件完好无损。

我决定重新安装我的应用程序,然后是时候安装Visual Studio 2015了,因为我仍然在使用ISO。我安装了图像并开始安装,选择安装所有东西(不是自定义),它运行顺利,是时候启动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.&#x000D;&#x000A;Frame identifier: ST:0:0:{131369f2-062d-44a2-8671-91ff31efb4f4}&#x000D;&#x000A;Frame caption: Team Explorer&#x000D;&#x000A;Exception details:&#x000D;&#x000A;System.ArgumentException: Converter requires 11 source parameters.&#x000D;&#x000A;   at Microsoft.VisualStudio.PlatformUI.MultiValueConverterBase`1.ValidateConvertParameters(Object[] values, Type targetType)&#x000D;&#x000A;   at Microsoft.VisualStudio76.PlatformUI.MultiValueConverter`12.Convert(Object[] values, Type targetType, Object parameter, CultureInfo culture)&#x000D;&#x000A;   at System.Windows.Data.MultiBindingExpression.TransferValue()&#x000D;&#x000A;   at System.Windows.Data.MultiBindingExpression.Transfer()&#x000D;&#x000A;   at System.Windows.Data.MultiBindingExpression.UpdateTarget(Boolean includeInnerBindings)&#x000D;&#x000A;   at System.Windows.Data.MultiBindingExpression.AttachToContext(Boolean lastChance)&#x000D;&#x000A;   at System.Windows.Data.MultiBindingExpression.AttachOverride(DependencyObject d, DependencyProperty dp)&#x000D;&#x000A;   at System.Windows.Data.BindingExpressionBase.OnAttach(DependencyObject d, DependencyProperty dp)&#x000D;&#x000A;   at System.Windows.StyleHelper.GetInstanceValue(UncommonField`1 dataField, DependencyObject container, FrameworkElement feChild, FrameworkContentElement fceChild, Int32 childIndex, DependencyProperty dp, Int32 i, EffectiveValueEntry&amp; entry)&#x000D;&#x000A;   at System.Windows.StyleHelper.GetChildValueHelper(UncommonField`1 dataField, ItemStructList`1&amp; valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry&amp; entry, ValueLookupType&amp; sourceType, FrameworkElementFactory templateRoot)&#x000D;&#x000A;   at System.Windows.StyleHelper.GetChildValue(UncommonField`1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList`1&amp; childRecordFromChildIndex, EffectiveValueEntry&amp; entry, ValueLookupType&amp; sourceType, FrameworkElementFactory templateRoot)&#x000D;&#x000A;   at System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry&amp; entry)&#x000D;&#x000A;   at System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)&#x000D;&#x000A;   at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1&amp; exclusionContainerDependents, FrugalStructList`1&amp; oldContainerDependents, FrugalStructList`1&amp; newContainerDependents)&#x000D;&#x000A;   at System.Windows.StyleHelper.DoThemeStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style style)&#x000D;&#x000A;   at System.Windows.StyleHelper.UpdateThemeStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style&amp; themeStyleCache)&#x000D;&#x000A;   at System.Windows.FrameworkElement.OnThemeStyleChanged(DependencyObject d, Object oldValue, Object newValue)&#x000D;&#x000A;   at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)&#x000D;&#x000A;   at System.Windows.FrameworkElement.UpdateThemeStyleProperty()&#x000D;&#x000A;   at System.Windows.FrameworkElement.OnInitialized(EventArgs e)&#x000D;&#x000A;   at System.Windows.FrameworkElement.TryFireInitialized()&#x000D;&#x000A;   at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)&#x000D;&#x000A;   at System.Windows.FrameworkElement.AddLogicalChild(Object child)&#x000D;&#x000A;   at System.Windows.Controls.ContentControl.OnContentChanged(Object oldContent, Object newContent)&#x000D;&#x000A;   at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)&#x000D;&#x000A;   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)&#x000D;&#x000A;   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)&#x000D;&#x000A;   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)&#x000D;&#x000A;   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)&#x000D;&#x000A;   at System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)&#x000D;&#x000A;   at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1&amp; exclusionContainerDependents, FrugalStructList`1&amp; oldContainerDependents, FrugalStructList`1&amp; newContainerDependents)&#x000D;&#x000A;   at System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)&#x000D;&#x000A;   at System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style&amp; styleCache)&#x000D;&#x000A;   at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)&#x000D;&#x000A;   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)&#x000D;&#x000A;   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)&#x000D;&#x000A;   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)&#x000D;&#x000A;   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)&#x000D;&#x000A;   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)&#x000D;&#x000A;   at System.Windows.FrameworkElement.SetResourceReference(DependencyProperty dp, Object name)&#x000D;&#x000A;   at Microsoft.VisualStudio.PlatformUI.Utility.SelectStyleForItem(FrameworkElement element, Object item, IExposeStyleKeys styleKeySource, Boolean deferIfInvisible)&#x000D;&#x000A;   at Microsoft.VisualStudio.PlatformUI.VsToolBar.PrepareContainerForItemOverride(DependencyObject element, Object item)&#x000D;&#x000A;   at System.Windows.Controls.ItemsControl.MS.Internal.Controls.IGeneratorHost.PrepareItemContainer(DependencyObject container, Object item)&#x000D;&#x000A;   at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.PrepareItemContainer(DependencyObject container)&#x000D;&#x000A;   at System.Windows.Controls.Panel.GenerateChildren()&#x000D;&#x000A;   at System.Windows.Controls.Primitives.ToolBarPanel.GenerateChildren()&#x000D;&#x000A;   at System.Windows.Controls.Panel.EnsureGenerator()&#x000D;&#x000A;   at System.Windows.Controls.Panel.get_InternalChildren()&#x000D;&#x000A;   at System.Windows.Controls.Primitives.ToolBarPanel.MeasureGeneratedItems(Boolean asNeededPass, Size constraint, Boolean horizontal, Double maxExtent, Size&amp; panelDesiredSize, Double&amp; overflowExtent)&#x000D;&#x000A;   at System.Windows.Controls.Primitives.ToolBarPanel.MeasureOverride(Size constraint)&#x000D;&#x000A;   at Microsoft.VisualStudio.PlatformUI.VsToolBarPanel.MeasureWithCollapsePrevention(Size constraint)&#x000D;&#x000A;   at Microsoft.VisualStudio.PlatformUI.VsToolBarPanel.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at System.Windows.Controls.Border.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)&#x000D;&#x000A;   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean&amp; hasDesiredSizeUChanged)&#x000D;&#x000A;   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)&#x000D;&#x000A;   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at System.Windows.Controls.Control.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.Controls.ToolBar.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at System.Windows.Controls.ToolBarTray.MeasureOverride(Size constraint)&#x000D;&#x000A;   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)&#x000D;&#x000A;   at System.Windows.UIElement.Measure(Size availableSize)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.AdjustSearchControlPlacement()&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.AddTopToolbarTray(VsToolWindowToolBarTray tray)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.AddToolbarTray(VsToolWindowToolBarTray tray, VSTWT_LOCATION location)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrameToolbarHost.OnToolbarTrayCreated(VsToolWindowToolBarTray newTray, VSTWT_LOCATION location)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.BaseToolbarHost.AddToolbar(UInt64 id, VSTWT_LOCATION location, IDropTarget dropTarget, IOleCommandTarget commandTarget, Boolean copyToolbarData)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.BaseToolbarHost.AddToolbar3(VSTWT_LOCATION location, Guid&amp; toolbarGuid, UInt32 toolbarId, IDropTarget dropTarget, IOleCommandTarget commandTarget)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid&amp; toolWindowType, Int32 id)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid&amp; toolWindowType, UInt32 id)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
  </entry>

完整记录Here

我尝试使用不同的标志启动Visual Studio:

devenv /safemodedevenv /restsettings等等。

它们都是从每次启动时Visual Studio崩溃开始的。

1 个答案:

答案 0 :(得分:1)

看起来安装得到了软管,如果正常的卸载程序不能正常工作,你可以尝试使用强制卸载:

vs_setup /uninstall /force

然后重启。然后再次尝试安装。

鉴于您在下载Update 3时似乎遇到网络问题,请尝试下载ISO而不是下载引导程序。或者首先创建一个本地安装源,以确保您在计算机上获得所有正确的位。您可以使用以下命令创建本地安装映像:

vs_setup /layout

如果所有其他方法都失败了,请参阅此帖子以获取更多调试提示: