Enable-Migrations -EnableAutomaticMigrations
パッケージ マネージャー コンソールを使用してインストールし、コンテキストの移行を有効にしようとしています。
しかし、それは次のようなエラーを出しています:
PM> Enable-Migrations -EnableAutomaticMigrations
Get-Package : A parameter cannot be found that matches parameter name 'ProjectName'.
At D:\Projects\MVC\WITL CMS\CmsV1.0\WCMS\packages\EntityFramework.5.0.0\tools\EntityFramework.psm1:611 char: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 'WCMS'.
Entity Framework のバージョンは 5.0 です
この問題を解決するには?