2015-11-15 102 views
1

我曾经使用VS2013并设置我的配置文件以发布Web项目。 它在windows 10中按预期工作,直到我昨晚安装了最新的Windows 10更新。Visual Studio 2013在最新的Windows 10更新后发布崩溃

现在,每当我发布我的项目,然后弹出说,Visual Studio已停止工作,并重新启动自己。

我尝试清理我的项目并重建,删除配置文件并导入新的。重新安装并获取最新的Visaul Studio更新。他们都没有工作。

例外的:未处理 消息

System.StackOverflowException:类型System.StackOverflowException'的未处理的异常出现在mscorlib.dll

在事件日志:

错误应用程序名称:devenv.exe,版本:12.0.21005.1,时间戳:0x524fcb34 错误模块名称:M SVCR120_CLR0400.dll,版本:12.0.52512.0,时间戳:0x5525ef9d 异常代码:0xc00000fd 故障偏移:0x0007e1a8 出错进程ID:0x1128 错误的应用程序启动时间:0x01d11f4665107d6c 错误的应用程序路径:C:\ Program Files文件(86) \微软的Visual Studio 12.0 \ Common7 \ IDE \ devenv.exe的 错误模块路径:C:\ WINDOWS \ SYSTEM32 \ MSVCR120_CLR0400.dll 报告编号:6bfdab62-235e-4E00-B23E-4312cf3f276a 断裂作用包全名: 断裂作用包-relative application ID:

详情:

devenv.exe的 12.0.21005.1 524fcb34 MSVCR120_CLR0400.dll 12.0.52512.0 5525ef9d C00000FD 0007e1a8 01d11f4665107d6c C:\ Program Files文件(x86)的\微软的Visual Studio 12.0 \ Common7 \ IDE \ devenv.exe的 C:\ WINDOWS \ SYSTEM32 \ MSVCR120_CLR0400.dll 6bfdab62-235e-4E00-B23E-4312cf3f276a

我仍然有不知道为什么它坠毁,如果有人知道任何事情,请摆脱一些光,谢谢!

在导致崩溃的堆栈溢出异常之前有一些异常。这是第一个例外的调用堆栈后,我右键单击项目

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 

例外:

“项目已添加关键字典中。‘WebApplication的’钥匙被补充道:‘WebApplication的’” } System.Exception {System。ArgumentException的}

+1

附加调试在VS的第二个副本发布之前,再看看堆栈跟踪。 – SLaks

+0

我试过了,但即使我下载了所有可能的符号,调用堆栈也没什么意义,我也不认为我可以从汇编代码中获取任何东西。 –

+0

附加为托管而非本地;本地代码应该不相关(并且根本不需要符号来查看托管堆栈) – SLaks

回答

0

,我也有这个问题,只有这样,才能解决这个问题是重新安装Visual Studio的,或者你可以尝试先修复安装。

+0

不幸的是,没有在我的情况下工作... –

+0

我也有这个问题,以及安装Win 10 SP1或任何他们称之为。与以前一样重新安装VS 2013,我安装了VS 2015,但该问题也存在。考虑到我在更新后遇到了包管理器的另一个问题,我在dll实体框架上运行了gacutil.exe修复程序。我不知道是否有什么与此修复相关的... – BillD

4

我终于锁定了崩溃的根源。如果我删除项目中的obj和bin文件夹,则发布配置文件将起作用。也许这是因为我在构建项目时遇到了一些dll冲突警告?

我仍然不确定为什么这不会发生在Windows 8中。为什么它在Windows 8和10中的行为不同?

+0

我必须在每次发布前删除obj和bin – biscuit314

+0

我遇到了同样的问题,而且这似乎至少让我发布。你会认为微软会在Windows 10上测试他们的开发工具。自从我切换以来,我一直没有遇到任何问题。 – Alao

+0

同样的问题在这里,删除obj/bin文件夹似乎暂时解决它。在VS2015中也存在这个问题,这很困难!不知道该怎么办。 – BillD

0

我发现问题在于.csproj文件。

  1. 在文本编辑器打开该文件(即记事本+ +),并切断文件部分(的ItemGroup元素)为参考后
  2. 保存文件
  3. 在vs2013 打开项目(我不知道你需要重新打开vs2013 - 但这就是我所做的)。
  4. 然后关闭vs2013中的项目。
  5. 粘贴我们刚切出的所有ItemGroup元素
  6. resave。
  7. 发布再次
相关问题