Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error NU1002 The dependency EntityFramework 6.1.3 in project WebApplication1 does not support framework DNXCore,Version=v5.0

I have the community version of VS2015. I can create a console app and build it no problem. Once I run the package manager and install the entityframework and then build it again it gives me the above error.

I have DNX installed. I have tried to uninstall VS 2015 and reinstall but to no avail. This has happened because I tried to to install MVC boilerplate found a this address: http://rehansaeed.com/asp-net-mvc-boilerplate/ I have since uninstalled it but DNX seems to remain and now I have that error.

It may be a simple fix however I am a beginner at this and cant figure it out. Anyone like to give me a few ideas as to what this is and how to fix it I would be appreciative.

like image 594
si2030 Avatar asked Jan 06 '16 20:01

si2030


1 Answers

Replace Entity FrameWork "EntityFramework": "6.1.3" with "EntityFramework.Commands": "7.0.0-rc1-final".

It work properly then build it.

like image 190
Muhammad Tayyeb Avatar answered Sep 19 '22 08:09

Muhammad Tayyeb