Bug description
After update to 10.0.7 I can not create a new Migration. Build is fine.
Your code
Add-Migration -Context MyBreweryDbContext -Name "Added bottling Brew26"
Stack traces
System.MissingMethodException: Method not found: 'System.String Microsoft.EntityFrameworkCore.Diagnostics.AbstractionsStrings.ArgumentIsEmpty(System.Object)'.
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType, String namespace)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_0.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Method not found: 'System.String Microsoft.EntityFrameworkCore.Diagnostics.AbstractionsStrings.ArgumentIsEmpty(System.Object)'.
Verbose output
Using project 'MyBrewery'.
Using startup project 'MyBrewery'.
Build started...
Build succeeded.
C:\Program Files\dotnet\dotnet.exe exec --depsfile E:\CODE\github\MyBrewery\MyBrewery\bin\Debug\net10.0\MyBrewery.deps.json --additionalprobingpath E:\packages\nuget --additionalprobingpath "C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages" --runtimeconfig E:\CODE\github\MyBrewery\MyBrewery\bin\Debug\net10.0\MyBrewery.runtimeconfig.json E:\packages\nuget\microsoft.entityframeworkcore.tools\10.0.7\tools\net8.0\any\ef.dll migrations add AddedBottlingBrew26 --json --context MyBreweryDbContext --verbose --no-color --prefix-output --assembly E:\CODE\github\MyBrewery\MyBrewery\bin\Debug\net10.0\MyBrewery.dll --project E:\CODE\github\MyBrewery\MyBrewery\MyBrewery.csproj --startup-assembly E:\CODE\github\MyBrewery\MyBrewery\bin\Debug\net10.0\MyBrewery.dll --startup-project E:\CODE\github\MyBrewery\MyBrewery\MyBrewery.csproj --project-dir E:\CODE\github\MyBrewery\MyBrewery\ --language C# --configuration Debug --working-dir E:\CODE\github\MyBrewery --root-namespace MyBrewery --nullable --design-assembly E:\packages\nuget\microsoft.entityframeworkcore.design\8.0.0\lib\net8.0\Microsoft.EntityFrameworkCore.Design.dll
Using assembly 'MyBrewery'.
Using startup assembly 'MyBrewery'.
Using application base 'E:\CODE\github\MyBrewery\MyBrewery\bin\Debug\net10.0'.
Using working directory 'E:\CODE\github\MyBrewery\MyBrewery'.
Using root namespace 'MyBrewery'.
Using project directory 'E:\CODE\github\MyBrewery\MyBrewery\'.
Remaining arguments: .
System.MissingMethodException: Method not found: 'System.String Microsoft.EntityFrameworkCore.Diagnostics.AbstractionsStrings.ArgumentIsEmpty(System.Object)'.
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType, String namespace)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_0.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Method not found: 'System.String Microsoft.EntityFrameworkCore.Diagnostics.AbstractionsStrings.ArgumentIsEmpty(System.Object)'.
EF Core version
10.0.7
Database provider
Microsoft.EntityFrameworkCore.SqlServer
Target framework
.NET 10
Operating system
Windows 11
IDE
Visual Studio 2026 v18.5.1
Bug description
After update to 10.0.7 I can not create a new Migration. Build is fine.
Your code
Stack traces
Verbose output
EF Core version
10.0.7
Database provider
Microsoft.EntityFrameworkCore.SqlServer
Target framework
.NET 10
Operating system
Windows 11
IDE
Visual Studio 2026 v18.5.1