Error in file project.json

0

I'm having an error in my project, it appeared after I added Entity Framework to my project! This error persists at line 21 of the project.json file. I'm using Visual Studio 2015.

The exact description of the error is:

  

"The dependency EntityFramework 6.1.3 in project foo bar does not   support framework .NETPlatform, Version = v5.4 "

    
asked by anonymous 11.04.2016 / 19:58

1 answer

2

Delete the line "net451": {} from global.json, if you have "dotnet5.4", you change to "net451".

    
11.04.2016 / 20:49