开发者

Issues with the new Entity Framework (June 2011 CTP causing unknown errors)

开发者 https://www.devze.com 2023-03-17 08:06 出处:网络
So I installed Entity Framework June CTP day before and all was fine until I went to add POCO\'s to the EF, that\'s when I got this error

So I installed Entity Framework June CTP day before and all was fine until I went to add POCO's to the EF, that's when I got this error

Issues with the new Entity Framework (June 2011 CTP causing unknown errors)

So I thought to myself 'It must have been the CTP that's causing this, so I went and unloaded it. I restarted Visual Studio and was greeted with this message:

Issues with the new Entity Framework (June 2011 CTP causing unknown errors)

I hit No and Visual Studio finished loading my project. When I once aga开发者_运维技巧in tried to add the POCO's I was greeted with this error:

Issues with the new Entity Framework (June 2011 CTP causing unknown errors)

So does anyone know what's going on and how I can resolve this issue? I know Entity Framework 4.2 has new items but for the time being I prefer the POCO way of doing things.


EF CTP 2011 is very first preview of EF 4.2. It also shows only subset of features expected in EF 4.2. First of all it is not for developing production code and it should not be installed on the machine where you write a production EF code.

It is expected that CTP can contain bugs - that is why CTPs are published - to collect feedback and find bugs. It is not clear what you actually did to get the error but if you have a technical problem with CTP ask on EF pre-release forum for help.


Why not simply remove EF 4.2 ? Removal guide here: http://blogs.msdn.com/b/adonet/archive/2011/06/30/announcing-the-microsoft-entity-framework-june-2011-ctp.aspx


I had exactly same problem and resolved it by uninstalling "SQL Server Tools for Data Framework June 2011 CTP" - download it at http://www.microsoft.com/download/en/details.aspx?id=26660, run and select the Remove option.

After that I was able to recover the Entity Framework tools to SP1 state using the steps in Uninstall section described at
http://blogs.msdn.com/b/adonet/archive/2011/06/30/announcing-the-microsoft-entity-framework-june-2011-ctp.aspx.

0

精彩评论

暂无评论...
验证码 换一张
取 消