Working in VS 2015 Community, I've created a Services class library project, targeted at .NET 4.6. Now, in my main Api project, all references fall under DNX 4.5.1 and DNX Core 5. When I add the reference to Services, I get the compiler error :
Dependency Services >= 1.0.0-* could not be resolved Api C:\Development\Surveys\src\Api\project.json
What do I have to do to make my class library compatible with the Api project?
Servicesclass library project to DNX 4.5.1 and DNX Core 5 or you tried to use previously compiled dll targeted to .NET 4.6 directly in MVC6 project without migration?project.json. Anyway, they are all in the same solution folder.