Error migrating to EFCore

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

+1
source share
1 answer

# 8163. . 2.0.0-preview2-final.

0

Source: https://habr.com/ru/post/1684208/


All Articles