I would like to create a class library that can be used on my aspnetcore app and uwp app.
Please correct me if I'm wrong, the way I understand the image below (first image) I can create a .net core class library and have it reference to uwp and aspnetcore.
What I've done is I created, a .NET Core Class Library
, Aspnet Core Web App
, and UWP
.
I tried to reference .Net Core Class Library
on my Aspnet Core Web App
, no errors. Now, I tried to reference .Net Core Class Library
on my UWP
and it showed the error below (last image).
Am I better of creating PCL instead as stated here?
PS. Im using VS2015 Update 3