Open Output window in Visual Studio and check your build log. In my case, even though my current configuration was Release
, Add-Migration
built the project in Debug
, which had an error. For some reason, VS didn't display the error anywhere except Output window for me.