依赖项实体框架6.1.3不支持框架.NETCore,版本= v1.0 [英] The Dependency Entity Framework 6.1.3 does not support framework .NETCore, Version=v1.0

查看:69
本文介绍了依赖项实体框架6.1.3不支持框架.NETCore,版本= v1.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立自己的个人网站,因此决定使用Visual Studio 2015和ASP.NET Core.我目前被卡在我的项目中.JSON给我以下错误:错误NU1002:依赖项 EntityFramework 6.1.3不支持框架.NETCoreApp,Version = v1.0.

I am building my personal website and I decided to do it with Visual Studio 2015 and ASP.NET Core. I am currently stuck as my project.JSON gives me the following error: error NU1002: The dependency EntityFramework 6.1.3 does not support framework .NETCoreApp,Version=v1.0.

我应该在project.JSON中进行哪些更改以避免该错误消息?以下是我的项目.JSON
您的帮助将不胜感激.谢谢!

What changes should I make in my project.JSON to avoid that error message? Below is my project.JSON
Your help will be very appreciated. Thanks!

推荐答案

解决方案很简单.  我所要做的就是删除 "EntityFramework"行. :"6.1.3";错误消失了.然后,我重建了项目,一切正常.
The solution was simple.  All I had to do was to remove the line  "EntityFramework" : "6.1.3" and the error disappeared. I then rebuilt the project and everything works just fine.


这篇关于依赖项实体框架6.1.3不支持框架.NETCore,版本= v1.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆