C# 最新windows 10更新后Visual Studio 2013发布崩溃
我曾经使用VS2013并设置我的配置文件以发布web项目。 在我昨晚安装了最新的Windows10更新之前,它在Windows10中的工作情况与预期一样 现在每次我发布我的项目时,弹出窗口都会显示VisualStudio已经停止工作并重新启动 我尝试清理我的项目并重建、删除配置文件并导入新的配置文件。重新安装并获取最新的Visaul Studio更新。他们都没有工作 例外情况: System.StackOverflowException未处理 消息:mscorlib.dll中发生“System.StackOverflowException”类型的未处理异常 在事件日志中: 故障应用程序名称:devenv.exe,版本:12.0.21005.1,时间戳:0x524fcb34 故障模块名称:MSVCR120_CLR0400.dll,版本:12.0.52512.0,时间戳:0x5525ef9d 异常代码:0xc00000fd 故障偏移量:0x0007e1a8 出错进程id:0x1128 故障应用程序启动时间:0x01d11f4665107d6c 出现故障的应用程序路径:C:\Program Files(x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe 故障模块路径:C:\Windows\SYSTEM32\MSVCR120\u CLR0400.dll 报告Id:6bfdab62-235e-4e00-b23e-4312cf3f276a 故障包全名: 错误包相对应用程序ID: 详情: devenv.exe 12.0.21005.1 524fcb34 MSVCR120_CLR0400.dll 12.0.52512.0 5525ef9d c00000fd 0007e1a8 1128 01d11f4665107d6c C:\ProgramFiles(x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe C:\Windows\SYSTEM32\MSVCR120\u CLR0400.dll 6bfdab62-235e-4e00-b23e-4312cf3f276a 我仍然不知道它为什么会坠毁,如果有人知道什么,请告诉我,谢谢 在导致崩溃的堆栈溢出异常之前有两个异常。这是我右键单击project后第一个异常的调用堆栈C# 最新windows 10更新后Visual Studio 2013发布崩溃,c#,visual-studio,asp.net-mvc-4,C#,Visual Studio,Asp.net Mvc 4,我曾经使用VS2013并设置我的配置文件以发布web项目。 在我昨晚安装了最新的Windows10更新之前,它在Windows10中的工作情况与预期一样 现在每次我发布我的项目时,弹出窗口都会显示VisualStudio已经停止工作并重新启动 我尝试清理我的项目并重建、删除配置文件并导入新的配置文件。重新安装并获取最新的Visaul Studio更新。他们都没有工作 例外情况: System.StackOverflowException未处理 消息:mscorlib.dll中发生“System.
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}
我也遇到过这个问题,解决这个问题的唯一方法是重新安装Visual Studio,或者您可以尝试先修复安装。我也遇到过这个问题,解决这个问题的唯一方法是重新安装Visual Studio,或者你可以试着先修复安装。 我终于确定了崩溃的根本原因。若我在我的项目中删除obj和bin文件夹,那个么发布配置文件将起作用。也许这是因为我在构建项目时遇到了一些dll冲突警告
我仍然不知道为什么Windows8没有出现这种情况。为什么它在Windows 8和10中有不同的行为? < P>我最终确定了崩溃的根本原因。若我在我的项目中删除obj和bin文件夹,那个么发布配置文件将起作用。也许这是因为我在构建项目时遇到了一些dll冲突警告
我仍然不知道为什么Windows8没有出现这种情况。为什么它在windows 8和10中的行为不同?我发现问题在于.csproj文件
我发现问题出在.csproj文件上
在发布之前,在VS的第二个副本中附加调试器,然后查看堆栈跟踪。我尝试了这种方法,但即使我下载了所有可能的符号,调用堆栈也没有多大意义,我认为我也无法从汇编代码中获得任何东西;本机代码不应该是相关的(并且您根本不需要符号来查看托管堆栈),我为第一个异常附加了调用堆栈。顺便说一句,我不确定这是否相关,但我在构建项目时对此mscorlib.dll有冲突警告,我还没有找到解决冲突的方法。在发布之前,在VS的第二个副本中附加调试器,然后查看堆栈跟踪。我尝试过,但我下载了所有可能的符号,调用堆栈没有多大意义,我也不认为我能从汇编代码中得到任何东西;本机代码不应该是相关的(并且您根本不需要符号来查看托管堆栈),我为第一个异常附加了调用堆栈。顺便说一句,我不确定这是否相关,但我在构建项目时对此mscorlib.dll有冲突警告,我还没有找到解决冲突的方法。我必须在每次发布之前删除obj和bin。我遇到了同样的问题,这似乎至少让我发布了。你可能认为微软会在Windows10上测试他们的开发工具。自从我切换后,除了问题之外,我什么都没有。这里也有同样的问题,删除obj/bin文件夹似乎可以解决它。这是一个棘手的问题,因为VS2015中也存在这一问题!不知道该怎么办。每次发布之前我都要删除obj和bin。我也有同样的问题,这似乎至少让我可以发布了。你可能认为微软会在Windows10上测试他们的开发工具。自从我切换后,除了问题之外,我什么都没有。这里也有同样的问题,删除obj/bin文件夹似乎可以解决它。这是一个棘手的问题,因为VS2中也存在这个问题