2016-08-22 110 views
2

我做了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.&#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在啓動時每次崩潰時開始。

+0

看在事件日誌有關崩潰的細節和pst在那裏記錄的callstack – magicandre1981

+0

@ jessehouwing非常感謝您的評論,我試圖修復安裝,但沒有解決它。但我現在嘗試下載更新3並測試它是否修復它。 –

+0

@jessehouwing我剛剛安裝了更新3,安裝程序安裝正常,但完成了一些錯誤和警告,我設法截圖:http://imgur.com/lLSpa3f但visual studio仍然在啓動時崩潰,這些是新的日誌:https://gist.github.com/f3yisayo/8de73ed3aa931f55b9231cf4a9f504ad/raw/ae731905905b6b8fd5b57411df92e79a38f432aa/error2.txt –

回答

1

貌似安裝得到了大清洗,如果正常卸載程序不工作,你可以嘗試使用一個強制卸載:

vs_setup /uninstall /force 

然後重新啓動。然後再次嘗試安裝。

鑑於您在下載更新3時似乎遇到網絡問題,請嘗試下載ISO代替下載引導程序。或者先創建一個本地安裝源,以確保您的計算機上正確安裝了所有的位。

vs_setup /layout 

如果一切都失敗了,看到這個帖子了更多的調試提示:您可以通過創建一個本地安裝映像