SQL精简版:无法找到依赖项EntityFramework.Relational
SQL Compact Edition: Unable to locate Dependency EntityFramework.Relational
我正在尝试为 SQL Server Compact Edition 安装 Entity Framework ASP.NET 5 应用程序 (MVC 6) Visual Studio 是 2015。
我在程序包管理器控制台中有 运行 以下命令来安装 SQL Server Compact 3.5
Install-Package EntityFramework.SqlServerCompact35 –Pre
结果成功
Installing NuGet package EntityFramework.SqlServerCompact35.7.0.0-rc1-final.
Successfully installed 'EntityFramework.SqlServerCompact35 7.0.0-rc1-final' to Web
但是,包恢复失败
Restoring packages for Web\project.json
CACHE https://www.nuget.org/api/v2/FindPackagesById()?id='EntityFramework.Relational'
Unable to locate Dependency EntityFramework.Relational 7.0.0-rc1-16263
Writing lock file Web\project.lock.json
Restore complete, 6789ms elapsed
Errors in Web\project.json
Unable to locate Dependency EntityFramework.Relational 7.0.0-rc1-16263
NuGet Config files used:
C:\Users\Linux\AppData\Roaming\NuGet\nuget.config
Feeds used:
https://www.nuget.org/api/v2/
C:\Program Files (x86)\Microsoft Web Tools\DNU
该应用程序的目标是 1.0.0-rc1-update1 DNX 版本。
project.json 中的依赖项是
"EntityFramework.SqlServerCompact35": "7.0.0-rc1-final",
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-final",
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta7",
"Microsoft.AspNet.Server.WebListener": "1.0.0-rc1-final",
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
"Microsoft.Framework.DependencyInjection": "1.0.0-beta8"'
你能告诉我什么是问题吗?
SQL Server Compact 提供程序需要 .NET 4.5.1 或更高版本,并且在 .NET Core
下运行 不需要
我正在尝试为 SQL Server Compact Edition 安装 Entity Framework ASP.NET 5 应用程序 (MVC 6) Visual Studio 是 2015。
我在程序包管理器控制台中有 运行 以下命令来安装 SQL Server Compact 3.5
Install-Package EntityFramework.SqlServerCompact35 –Pre
结果成功
Installing NuGet package EntityFramework.SqlServerCompact35.7.0.0-rc1-final.
Successfully installed 'EntityFramework.SqlServerCompact35 7.0.0-rc1-final' to Web
但是,包恢复失败
Restoring packages for Web\project.json
CACHE https://www.nuget.org/api/v2/FindPackagesById()?id='EntityFramework.Relational'
Unable to locate Dependency EntityFramework.Relational 7.0.0-rc1-16263
Writing lock file Web\project.lock.json
Restore complete, 6789ms elapsed
Errors in Web\project.json
Unable to locate Dependency EntityFramework.Relational 7.0.0-rc1-16263
NuGet Config files used:
C:\Users\Linux\AppData\Roaming\NuGet\nuget.config
Feeds used:
https://www.nuget.org/api/v2/
C:\Program Files (x86)\Microsoft Web Tools\DNU
该应用程序的目标是 1.0.0-rc1-update1 DNX 版本。
project.json 中的依赖项是
"EntityFramework.SqlServerCompact35": "7.0.0-rc1-final",
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-final",
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta7",
"Microsoft.AspNet.Server.WebListener": "1.0.0-rc1-final",
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
"Microsoft.Framework.DependencyInjection": "1.0.0-beta8"'
你能告诉我什么是问题吗?
SQL Server Compact 提供程序需要 .NET 4.5.1 或更高版本,并且在 .NET Core
下运行 不需要