I'm new to this and running into some trouble. I've created a new project in VS2015 - a 'ASP.NEt 5 Preview Template' Web API. Then I used the Package Manager Console to add Entity Framework (Install-Package EntityFramework)
Then I tried creating a context class that inherits from DbContext.
I'm getting errors on my 'using System.Data.Entity' line. When I mouse over it, it tells me that it is available for DNX 4.5.1 but not DNX Core 5.0 Resharper also identifies the line as invalid.
'The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?) BuildWatcherAPI.DNX Core 5.0
I've tried manually adding references to System.Data/System.Data.Entity but that doesn't seem to do the trick. Clearly I'm doing something very wrong - can anyone point me in the right direction?
What's extra strange is that I've done this from scratch again, and that solution seems to build fine. So I must have done something else, inadvertently, but I'm having trouble seeing any differences between the two solutions and I'd like to understand what went wrong.