I used to use VS2013 and set up my profile to publish web project. It was working as expected in windows 10 until I installed the newest update for windows 10 last night.
Now every time I publish my project then popup says visual studio has stopped working and restarted itself.
I tried clean my project and rebuild, delete profile and import new one. re-install and get the latest Visaul Studio update. None of them worked.
Exception:
System.StackOverflowException was unhandled Message: An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
In Event log:
Faulting application name: devenv.exe, version: 12.0.21005.1, time stamp: 0x524fcb34 Faulting module name: MSVCR120_CLR0400.dll, version: 12.0.52512.0, time stamp: 0x5525ef9d Exception code: 0xc00000fd Fault offset: 0x0007e1a8 Faulting process id: 0x1128 Faulting application start time: 0x01d11f4665107d6c Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe Faulting module path: C:\Windows\SYSTEM32\MSVCR120_CLR0400.dll Report Id: 6bfdab62-235e-4e00-b23e-4312cf3f276a Faulting package full name: Faulting package-relative application ID:
Details:
devenv.exe 12.0.21005.1 524fcb34 MSVCR120_CLR0400.dll 12.0.52512.0 5525ef9d c00000fd 0007e1a8 1128 01d11f4665107d6c C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe C:\Windows\SYSTEM32\MSVCR120_CLR0400.dll 6bfdab62-235e-4e00-b23e-4312cf3f276a
I still have no idea why it crashed, please shed some light if anyone knows anything, thanks!
There are a couple exception before the stack overflow exception which lead to crash. This is the call stack of first exception after I right click project
mscorlib.dll!System.Collections.Hashtable.Insert(object key, object nvalue, bool add) Unknown
mscorlib.dll!System.Collections.Hashtable.Add(object key, object value) Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.AutomationExtenderManager.GetExtenders(EnvDTE.ObjectExtenders extensionMgr = COM Object, string catID = "{4EF9F003-DE95-4d60-96B0-212979F2A857}", object extendee, System.Collections.Hashtable ht = Count = 1) Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.AutomationExtenderManager.GetExtendedObjects(object[] selectedObjects = {object[1]}) Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser.Microsoft.VisualStudio.PropertyBrowser.ILocalPbrsService.GetProcessedObject(object component) Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.VSPropertiesTab.GetProperties(System.ComponentModel.ITypeDescriptorContext context = {System.Windows.Forms.PropertyGridInternal.SingleSelectRootGridEntry}, object component, System.Attribute[] attributes = {System.Attribute[1]}) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGridInternal.GridEntry.GetPropEntries(System.Windows.Forms.PropertyGridInternal.GridEntry peParent = {System.Windows.Forms.PropertyGridInternal.SingleSelectRootGridEntry}, object obj = COM Object, System.Type objType = {Name = Inspecting the state of an object in the debuggee of type System.Type is not supported in this context. FullName = Inspecting the state of an object in the debuggee of type System.Type is not supported in this context.}) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGridInternal.GridEntry.CreateChildren(bool diffOldChildren = false) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGridInternal.SingleSelectRootGridEntry.CreateChildren() Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGridInternal.GridEntry.InternalExpanded.set(bool value) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGridInternal.GridEntry.Create(System.Windows.Forms.PropertyGridInternal.PropertyGridView view, object[] rgobjs, System.IServiceProvider baseProvider, System.ComponentModel.Design.IDesignerHost currentHost, System.Windows.Forms.Design.PropertyTab tab, System.Windows.Forms.PropertySort initialSortType) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGrid.UpdateSelection() Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGrid.RefreshProperties(bool clearCached) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGrid.Refresh(bool clearCached) Unknown
System.Windows.Forms.dll!System.Windows.Forms.PropertyGrid.SelectedObjects.set(object[] value) Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser.UpdatePropertyGrid() Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser.UpdateSelection(bool updateGrid, bool updateComboBox) Unknown
Microsoft.VisualStudio.dll!Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser.OnIdle(object sender, System.EventArgs e) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef) Unknown
System.Windows.Forms.dll!System.Windows.Forms.ComponentManagerProxy.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef = -2) Unknown
exception:
"Item has already been added. Key in dictionary: 'WebApplication' Key being added: 'WebApplication'"} System.Exception {System.ArgumentException}