When I run Add-Migration using Microsoft.EntityFrameworkCore.Tools 1.1.1, I get the following error:
Add-Migration: Exception throws "Substring" with the argument "1": "StartIndex cannot be less than zero. Parameter name: startIndex" At line: 1 char: 1 + Add-Migration + ~~~~~~~~~~ ~~~ + CategoryInfo: NotSpecified: (:) [Add-Migration], MethodInvocationException + FullyQualifiedErrorId: ArgumentOutOfRangeException, Add-Migration
The same thing works fine with version 1.1.0-preview4-final
source
share