我将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.
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崩溃开始的。
答案 0 :(得分:1)
看起来安装得到了软管,如果正常的卸载程序不能正常工作,你可以尝试使用强制卸载:
vs_setup /uninstall /force
然后重启。然后再次尝试安装。
鉴于您在下载Update 3时似乎遇到网络问题,请尝试下载ISO而不是下载引导程序。或者首先创建一个本地安装源,以确保您在计算机上获得所有正确的位。您可以使用以下命令创建本地安装映像:
vs_setup /layout
如果所有其他方法都失败了,请参阅此帖子以获取更多调试提示: