Quand je lance Add-migration à l'aide Microsoft.EntityFrameworkCore.Tools 1.1.1, je reçois l'erreur suivante:Erreur des migrations dans EFCore
Add-Migration : Exception calling "Substring" with "1" argument(s): "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
La même chose fonctionne parfaitement avec la version 1.1.0-preview4- final
Similaires sans réponses: https://stackoverflow.com/questions/43806813/creating-a-dbcontextfactory-that-gets-the-connection-string-from-user-secrets –