本文介绍了VS2012在构建过程中崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近才升级到VS2012,每次尝试构建一个项目(似乎是任何项目)时都会崩溃.

Just recently upgraded to VS2012 and am getting crashes every time I try to build a project, any project it seems.

故障铲斗3186386613,类型5
活动名称:CLR20r3
响应:不可用
出租车编号:0

问题签名:
P1:devenv.exe
P2:11.0.50727.1
P3:5011ecaa
P4:Microsoft.Data.Entity.Design.Model
P5:11.1.20702.0
P6:4ff147a5
P7:acc
P8:66
P9:System.MissingMethodException
P10:

附件:
C:\ Users \ oracle \ AppData \ Local \ Temp \ WERE539.tmp.WERInternalMetadata.xml

这些文件可以在这里找到:
C:\ Users \ oracle \ AppData \ Local \ Microsoft \ Windows \ WER \ ReportArchive \ AppCrash_devenv.exe_46b96c74d434631dd098425eb8796c8dfbe412_005c0372

分析符号:
重新检查解决方案:0
报告ID:6b37aa7e-029a-11e2-8c46-50e549e6c4be

Fault bucket 3186386613, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: devenv.exe
P2: 11.0.50727.1
P3: 5011ecaa
P4: Microsoft.Data.Entity.Design.Model
P5: 11.1.20702.0
P6: 4ff147a5
P7: acc
P8: 66
P9: System.MissingMethodException
P10:

Attached files:
C:\Users\oracle\AppData\Local\Temp\WERE539.tmp.WERInternalMetadata.xml

These files may be available here:
C:\Users\oracle\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_devenv.exe_46b96c74d434631dd098425eb8796c8dfbe412_005c0372

Analysis symbol:
Rechecking for solution: 0
Report Id: 6b37aa7e-029a-11e2-8c46-50e549e6c4be

过程11232中出现的意外异常:
====================
2012/9/19下午3:41:41
System.MissingMethodException:找不到方法:'System.Collections.ObjectModel.ReadOnlyCollection`1< System.Data.Metadata.Edm.PrimitiveType> System.Data.Metadata.Edm.EdmItemCollection.GetPrimitiveTypes(Double)'.
  在System.Data.Entity.Design.MetadataExtensionMethods.GetPrimitiveTypes(EdmItemCollection itemCollection,版本edmVersion)
   at Microsoft.Data.Entity.Design.Model.ModelHelper.AllPrimitiveTypes(Version targetFrameworkVersion)
  在Microsoft.Data.Entity.Design.Model.Entity.FunctionImport.get_IsReturnTypeComplexType()
  在Microsoft.Data.Entity.Design.Model.Entity.FunctionImport.get_ReturnType()
  在Microsoft.Data.Entity.Design.Model.Entity.FunctionImport.< get_Children> d__0.MoveNext()
  在Microsoft.Data.Entity.Design.Model.EFContainer.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFNormalizableItem.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
  在Microsoft.Data.Entity.Design.Model.EFContainer.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFNormalizableItem.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
  在Microsoft.Data.Entity.Design.Model.EFContainer.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFNormalizableItem.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
  在Microsoft.Data.Entity.Design.Model.EntityDesignArtifact.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.VisualStudio.Model.VSArtifact.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
  在Microsoft.Data.Entity.Design.Model.ModelManager.Dispose(布尔处理)
  在Microsoft.Data.Entity.Design.VisualStudio.VisualStudioEdmxValidator.Finalize()
==================

UNHANDLED EXCEPTIONS FROM PROCESS 11232:
=====================
9/19/2012 3:41:41 PM
System.MissingMethodException: Method not found: 'System.Collections.ObjectModel.ReadOnlyCollection`1<System.Data.Metadata.Edm.PrimitiveType> System.Data.Metadata.Edm.EdmItemCollection.GetPrimitiveTypes(Double)'.
   at System.Data.Entity.Design.MetadataExtensionMethods.GetPrimitiveTypes(EdmItemCollection itemCollection, Version edmVersion)
   at Microsoft.Data.Entity.Design.Model.ModelHelper.AllPrimitiveTypes(Version targetFrameworkVersion)
   at Microsoft.Data.Entity.Design.Model.Entity.FunctionImport.get_IsReturnTypeComplexType()
   at Microsoft.Data.Entity.Design.Model.Entity.FunctionImport.get_ReturnType()
   at Microsoft.Data.Entity.Design.Model.Entity.FunctionImport.<get_Children>d__0.MoveNext()
   at Microsoft.Data.Entity.Design.Model.EFContainer.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFNormalizableItem.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
   at Microsoft.Data.Entity.Design.Model.EFContainer.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFNormalizableItem.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
   at Microsoft.Data.Entity.Design.Model.EFContainer.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFNormalizableItem.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
   at Microsoft.Data.Entity.Design.Model.EntityDesignArtifact.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.VisualStudio.Model.VSArtifact.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.Model.EFObject.Dispose()
   at Microsoft.Data.Entity.Design.Model.ModelManager.Dispose(Boolean disposing)
   at Microsoft.Data.Entity.Design.VisualStudio.VisualStudioEdmxValidator.Finalize()
===================

故障排除应用程序名称:devenv.exe,版本:11.0.50727.1,时间戳:0x5011ecaa
故障模块名称:KERNELBASE.dll,版本:6.1.7601.17651,时间戳:0x4e211319
异常代码:0xe0434352
故障偏移量:0x0000b9bc
进程ID错误:0x2be0
错误的应用程序开始时间:0x01cd923807db1257
错误的应用程序路径:G:\ Program Files(x86)\ Microsoft Visual Studio 2012 Ultimate \ Common7 \ IDE \ devenv.exe
错误的模块路径:C:\ Windows \ syswow64 \ KERNELBASE.dll
报告ID:6b37aa7e-029a-11e2-8c46-50e549e6c4be

Faulting application name: devenv.exe, version: 11.0.50727.1, time stamp: 0x5011ecaa
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x2be0
Faulting application start time: 0x01cd923807db1257
Faulting application path: G:\Program Files (x86)\Microsoft Visual Studio 2012 Ultimate\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 6b37aa7e-029a-11e2-8c46-50e549e6c4be

推荐答案

感谢您的信息.

在安装Visual Studio 2012时遇到任何错误吗?如果有,请使用 http://aka.ms/vscollect  指向collect.exe工具.使用它之后,您可以从%temp%文件夹中找到vslogs.cab.请将文件上传到 https://skydrive.live.com/.然后,当您右键单击文件时,您将获得共享选项",您将能够使用该链接共享文件.日志将帮助我们了解您的安装是否损坏

Have you met any error when installing Visual Studio 2012? If you have, please usehttp://aka.ms/vscollect  to point to the collect.exe tool. After using it, you can find vslogs.cab from %temp% folder. Please upload the file tohttps://skydrive.live.com/ . Then when you right click the file your will get a "Share option", you will be able to share your files with that link. The logs will help us know if your installation is corrupt

您也可以尝试通过控制面板修复VS.从您的例外情况来看,看来EF工具未正确安装.

You may also try repiar VS from control panel to fix. As far as I can see from your exception, it seems EF tools was not installed correctly.

此致


这篇关于VS2012在构建过程中崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 08:16