Estou tentando realizar a instalação no VS2010, seguindo a orientação do curso:
PM> Install-Package EntityFramework.MicrosoftSqlServer -Pre
Retorno esse erro:
Install-Package : Unable to find package 'EntityFramework.MicrosoftSqlServer'.
At line:1 char:16
+ Install-Package <<<< EntityFramework.MicrosoftSqlServer -Pre
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Pesquisei no fórum e encontrei esse código:
PM> Install-Package EntityFramework.MicrosoftSqlServer -Version 7.0.0-rc1-final -Pre
E retorno essa mensagem:
Installing 'EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final'.
Successfully installed 'EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final'.
Adding 'EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final' to prjCampForm.
Uninstalling 'EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final'.
Successfully uninstalled 'EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final'.
Install failed. Rolling back...
Install-Package : Could not install package 'EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final'. You are trying to install this package into a project tha
t targets '.NETFramework,Version=v4.0,Profile=Client', but the package does not contain any assembly references or content files that are compatible with t
hat framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<< EntityFramework.MicrosoftSqlServer -Version 7.0.0-rc1-final -Pre
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Não consegui encontrar outra forma para instalar. Podem me ajudar.