I had the following error in package manager console when Add-Migration
Value cannot be null. Parameter name: connectionString
My problem was when I was trying to run App.dll within netcoreapp2.1 folder, but the right folder is netcoreapp2.1\publish\