I am building a project in VS 2015 and I am trying to enable-migrations to create a database using Entity Framework, but I am getting an error:
Cannot determine a valid start-up project. Using project 'Data Manager' instead. Your configuration file and working directory may not be set as expected. Use the -StartUpProjectName parameter to set one explicitly. Use the -Verbose switch for more information. No context type was found in the assembly 'Data Manager'.
I found several threads and potential solutions, but no luck. So far I have tried:
Rebuilding the Solution and Resetting VS
I confirmed that the default project is set to 'DataManager' with both a 'nuget.org' and 'All' package source
Enable-Migrations -ProjectName DataManager
I reinstalled with the commmand: Install-Package EntityFramework -IncludePrerelease
What am I missing?