This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from t...

    今天更新Entity FrameWork5.0的时候报错,找了很久才把问题解决,现在把问题记录一下,方面以后遇到相同的问题好解决

  This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from t...

说是使用Package Manager Console 才能进行安装...
由于对NuGet不是很熟悉
所以便要花一些時候來做Research 看看怎样用NuGet的 Package Manager Console.

解決方法:

Tools” ->”Library Package Manager” -> 选择 “Package Manager Console

This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from t...

开启之后可以在Console上输入以下指令來安装Entity Framework的更新
Install-Package EntityFramework

This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from t...

 

Update Entity Framework Completed

This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from t...

 

安装成功

This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from t...

转载于:https://www.cnblogs.com/xchit/archive/2013/06/08/3127158.html