I get an error when I run add-migration using entitcore for any dotnetcore based project, but the equivalent command works when targeting full dotnetframework
Add-Migration: Exception that throws "AddFromFile" with argument "1": "basePath" cannot be an empty string ("")
see snapshot of my code. This app is for dotnetcore console. The same will work if a project is created based on dotnetframewok 4.6.1

source
share