Bug description
After upgrading dotnet-ef to v10 I get "error MSB4057: The target "ResolvePackageAssets" does not exist in the project." when creating a new migration with dotnet ef migrations script. When I revert to dotnet-ef 9.0.10 the error goes away. I have some migrations using 9.0.9 in the model & database. I'm still using EF Core 9 in the code tough.
Your code
dotnet ef migrations script --framework net10.0 --no-build -o Migrations\SqlServer\install.sqlserver.sql --context SqlServerDbContext -i -- "DbType=SqlServer;Server=(local);Initial Catalog=SolidCP;Uid=SolidCP;Pwd=Password12;TrustServerCertificate=true"
Stack traces
Verbose output
EF Core version
9.0.0
Database provider
No response
Target framework
No response
Operating system
No response
IDE
No response