I created an UWP app and I will use entityFrameworkCore to create my DB with code first. My app console (entityFrameworkCore app) works and creates my DB but when I make a reference to my UWP project it doesn't work and shows this error:
The project uwp is not compatible with netcoreapp2.1(.NETCoreApp,version=v2.1)
And when i would like add a reference in uwp to db project i have this error enter image description here