将Entity Framework 4.3.1升级到5.0.0 beta 1会产生绑定重定向错误

时间:2012-03-02 16:17:26

标签: entity-framework

我的解决方案使用Entity Framework 4.3.1。我想升级到5.0.0 beta-1。包管理器提供以下输出:

PM> Install-Package -IncludePrerelease EntityFramework
You are downloading EntityFramework from Microsoft, the license agreement to which is   available at http://go.microsoft.com/fwlink/?LinkId=242870. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'EntityFramework 5.0.0-beta1'.
Successfully removed 'EntityFramework 4.3.1' from PROJECTNAME.
Successfully added 'EntityFramework 5.0.0-beta1' to PROJECTNAME.
Failed to generate binding redirects for 'PROJECTNAME'. 'object' does not contain a definition for 'References'
Successfully uninstalled 'EntityFramework 4.3.1'.

看起来升级成功完成,但我想知道如何防止此错误。

0 个答案:

没有答案