You need to make sure you are running enable-migrations on the project containing your DBContext so you cant run it on the UI project (otherwise it needs to be a relative path to the project from the currently selected one eg. ./project.data)
Set default project to Project.Data
then run:
enable-migrations