The EntityFramework package is not installed on project
2017-05-22 10:39
736 查看
VS2015 使用EF的code first 报错
Get-Package : 找不到与参数名称“ProjectName”匹配的参数。
所在位置 packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:611 字符: 40
+ $package = Get-Package -ProjectName <<<< $project.FullName | ?{ $_.Id -eq 'EntityFramework' }
+ CategoryInfo : InvalidArgument: (:) [Get-Package], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,NuGet.PowerShell.Commands.GetPackageCommand
The EntityFramework package is not installed on project
解决方案:
将nuget升级到最高版本,如果nuget无法升级,卸载后重新安装就可以了。
Get-Package : 找不到与参数名称“ProjectName”匹配的参数。
所在位置 packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:611 字符: 40
+ $package = Get-Package -ProjectName <<<< $project.FullName | ?{ $_.Id -eq 'EntityFramework' }
+ CategoryInfo : InvalidArgument: (:) [Get-Package], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,NuGet.PowerShell.Commands.GetPackageCommand
The EntityFramework package is not installed on project
解决方案:
将nuget升级到最高版本,如果nuget无法升级,卸载后重新安装就可以了。
相关文章推荐
- 【Visual Studio】The project appears to be under source control, but the associated source control plug-in is not installed on this computer
- Unable to start debugging on the web server. The project is not configured to be debugged.
- The resource is not on the build path of a PHP project
- The resource is not on the build path of a java project
- the resource is not on the build path of a java project
- Mac Error Create Android Project & HAX is not installed on this machine
- 导入android工程后出现The resource is not on the build path of a java project
- MVC project on VS2010 error : The project type is not supported by this installation
- this compilation unit is not on the build path of a java project
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- Android4.4 xposed安装失败(the xposed framework is not installed)
- Eclipse this compilation is not on the build path of a java project
- Trouble with the private key for “myName” is not installed on this mac
- this compilation unit is not on the build of a java project
- 在myeclipse中提示 The resource is not on the build path of a Java project
- eclipse中的the resource is not on the build path of a java project相关问题
- Unable to start debugging on the web server. The project is not configured to be debugged.
- this compilation unit is not on the build path of a java project
- the resource is not on the build path of a java project的一种情况
- The resource is not on the build path of a java project解决方法