软件包“ Microsoft.EntityFrameWorkCore.Inmemory”与结构不兼容。
我正在尝试将EF核心添加到一个项目中。通过在终端中打字 dotnet添加软件包microsoft.entityframeworkcore.inmemory-version 6.0
但是这样做我会收到第一个错误:
nu1301:无法为源http://teamcity.monogame.net/guestauth/guestauth/app/nuget/nuget/feed/_root/_root/_root/_root/default/def3/index.json.json.json.json.for加载服务索引。代码>
我注意到我过去使用的单体框架的名称是错误的,我删除了它,但是在尝试再次添加EF Core之后,我得到了另一个错误:
package'Microsoft.entityframeworkcore.inmemory “与project中的结构不兼容” c:\ users \ user \ user \ pizzastore1 \ pizzastore1.csproj”。
我不知道这意味着该软件包与“全”结构都不兼容。请帮忙。
I am trying to add EF Core to a project. By typing in the terminaldotnet add package Microsoft.EntityFrameworkCore.InMemory --version 6.0
but doing this I get first error:
NU1301: Could not load service index for source http://teamcity.monogame.net/guestAuth/app/nuget/feed/_Root/default/v3/index.json.
I noticed that the name of the MonoGame framework that I used to use is wrong, I removed it which helped, but after trying to add EF Core again, I got another error:
The package "Microsoft.EntityFrameworkCore.InMemory" is incompatible with the structures "all" in the project "C: \ Users \ user \ PizzaStore1 \ PizzaStore1.csproj".
I don't know what this means that the package is incompatible with the "all" structure. Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论