Entertain different things with .NET Core the second day. Almost coped with the Add-Migration , but here it appears

Add-Migration : Исключение при вызове "OpenFile" с "1" аргументами: "Параметр задан неверно. (Исключение из HRESULT: 0x80070057 (E_INVALIDARG))"строка:1 знак:1 + Add-Migration Arajan + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-Migration], MethodInvocationException + FullyQualifiedErrorId : ComMethodTargetInvocation,Add-Migration 

What is it? I can not tolerate it. I cannot solve this riddle.

    1 answer 1

    Drive on this error. The fact is that it simply does not open the migration file for viewing. So then the migration is created. Do further Update-Database and you will be happy.