利用NuGet更新entity framework是出现

利用NuGet更新entity framework是出现

“This package (or one of its dependencies) contains an init.ps1 file and need.."的错误

后来在网上看了篇文章http://blog.sharechiwai.com/2012/05/this-package-or-one-of-its-dependencies-contains-an-init-ps1-file-and-needs-to-be-installed-from-the-package-manager-console/,按着里面的配置来做可以了

 

 

當我嘗試使用NuGet來更新EntityFrameworkReference 時出現了以下的錯誤信息…
This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from the Package Manager Console.
This package (or one of its dependencies) contains an init.ps1 file and needs to be installed from the Package Manager Console.

說要使用Package Manager Console 才可以進行安裝..
由於我對NuGet不知熟識…
所以便要花一些時候來做Research 看看怎樣使用NuGetPackage Manager Console.

解決方法:
原來Package Manager Console 應該是在Visual Studio 左下方的分頁上的

如果找不到的話可以用以下的方法開啟
Tools” ->”Library Package Manager” -> 選擇 “Package Manager Console

開啟之後可以在Console上輸入以下指令來安裝Entity Framework的更新
Install-Package EntityFramework
Install-Package EntityFramework
Update Entity Framework Completed

NuGet Update Entity Framework Completed
Hope you find it useful

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值