简体   繁体   English

实体框架安装失败并崩溃Visual Studio

[英]Entity Framework Installation Fails & Crashes Visual Studio

I'm trying to install Entity Framework 5.0 into a Visual Studio 2012 Pro project. 我正在尝试将Entity Framework 5.0安装到Visual Studio 2012 Pro项目中。 Part way through the install it fails and crashes Visual Studio. 在安装过程中,安装失败了,并导致Visual Studio崩溃。 I suspect that it is trying to figure out which SQL server edition to use when it fails. 我怀疑它试图找出失败时要使用的SQL Server版本。 I have SQL 2008 R2, SQL 2012 and SQL 2012 Localdb installed. 我安装了SQL 2008 R2,SQL 2012和SQL 2012 Localdb。 No connection string gets added to the config file before it crashes. 在崩溃之前,不会将任何连接字符串添加到配置文件中。 I've been searching the forums and trying many things but no luck yet. 我一直在搜索论坛,并尝试了许多事情,但还没有走运。 Any help would be appreciated. 任何帮助,将不胜感激。 Same failure when using Visual Studio 2010 Pro. 使用Visual Studio 2010 Pro时同样失败。

I found that the EF installer can't handle multiple versions of SQL installed side by side. 我发现EF安装程序无法处理并排安装的SQL的多个版本。 After removing all but one the program runs fine. 除去所有内容后,程序运行正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果应用程序崩溃,回滚实体框架的更改 - Rolling back Entity Framework changes if application crashes 在带有SQL Server 2008R2的Visual Studio /实体框架中为标识列设置种子值 - Setting the seed value for an identity column in visual studio/entity framework w/SQL Server 2008R2 使用Visual Studio中的实体框架从SQL有效地获取示例查询 - Obtaining Sample Queries Efficiently from SQL using Entity Framework in Visual Studio 连接字符串适用于Entity Framework,但批量失败 - Connection string works for Entity framework but fails on bulk 在Visual Studio 2015中生成实体关系图 - Generating entity relationship diagram in Visual Studio 2015 通过 Visual Studio 运行时查询失败,在其他地方工作正常 - Query fails when run via Visual Studio, works fine elsewhere Windows Server2016上的SQL Server Management Studio 17.9安装失败 - SQL Server Management Studio 17.9 installation fails on Windows Server2016 安装sql relay失败 - Installation of sql relay fails 粘贴较大的多行字符串(大约1500行)后,Visual Studio 2010崩溃 - Visual Studio 2010 Crashes after pasting a large multi-line string (Approximately 1500 lines) 如何优化SQL Server Management Studio中的Entity Framework生成的SQL查询? - How to optimize SQL query generated by Entity Framework in SQL Server Management Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM