2014-10-10 101 views
0

我用自己的Visual Studio在我自己的电脑上创建了一个Visual Studio 2013应用程序。该应用程序正处于测试阶段,我必须将其发送给我的工作。问题,为什么我启动.exe,我有错误要运行此应用程序,您首先必须安装以下版本的.NET Framework之一:.NETFramework,Version = v4.5兼容性实体框架通过降级/网络框架4.5到3.5

如果我可以安装框架,这不会有问题,但我工作的企业不会更新它。 Thay站在3.5 SP1中。

我有(我认为),成功地解决有关的DataGrid(Retromigration 4.5 to 3.5 .net framework for c# application

我的第一个问题,但现在,我有很多的警告和错误,或多或少都对同一件事情,实体框架。

这是他们的3:

Warning 56 The primary reference "EntityFramework" could not be resolved because it has an indirect dependency on the .NET Framework assembly "Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.0.0.0" than the version "3.5.0.0" in the current target framework. WpfApplication3 
Warning 71 The primary reference "EntityFramework" could not be resolved because it has an indirect dependency on the .NET Framework assembly "Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. WpfApplication3 
Warning 40 The primary reference "EntityFramework" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. WpfApplication3 

等等等等等等

我知道实体框架3.5已经存在,那么我该怎么做才能让它再次合作?

在此先感谢您的帮助!

回答

0

最后简单地Update-Package –reinstall EntityFramework就足够了。在控制台包控制台管理器上就足够了。

现在我只有30个错误。我一步一步地前进。