I'm trying to create an UWP application with an opportunity to launch many quiz based games. For this reason I have a Core project(UWP) which will display all the gamemodes. Each gamemode is implemented in its own project, and I'd like to add a separate Data Access Layer to every gamemode. (The DAL would implement the Repository pattern)
So, my Core project (UWP) references the AllOrNothing(Class Library Universal Windows) project. Until this point it's fine. When I'm trying to add a project which will used by the Entity Framework I don't really know which type of project should I choose.
- If I see it correctly only .NET Standard 2.0 and the specific UWP class libraries can be referenced from the AllOrNothing(UWP Library) project. For example if I try to reference a .NET 6 project from the UWP library it throws an error.
So I added a .NET Standard 2.0 Library, and installed the EF(version 6.4.4), and EF Core(version 3.1.22)
When I run the command add-migration Init
, it says the following:
Project 'QuizProgram.Core' targets framework '.NETStandard'. The Entity Framework Package Manager Console Tools don't support this framework.
(QuizProgram.Core
is my startup project)
I don't really understand the problem, and can't really solve it.
I'm using Visual Studio 2022.