Because suite v5.0.0-beta.3 could not create the project, I returned v5.0.0-beta.2.
My current suite version is v5.0.0-beta.2. The preview version is not checked for the created project. The created project is 4.4.4, but v5.0.0-beta.3 is created after the preview version is checked
I added entities in version 4.4.4, but prompted me:
Suite is not compatible with your ABP project. Your ABP Suite version (5.0.0-beta.2) and your ABP project version (4.4.4) is not the same! Install ABP Suite 4.4.4 via the following CLI command: abp suite install --version 4.4.4
I added entities in v5.0.0-beta.3, but prompted me:
Error occurred on DB migration step: Build started...
Build succeeded.
The Entity Framework tools version '5.0.11' is older than that of the runtime '6.0.0'. Update the tools for the latest features and bug fixes. See https://aka.ms/AAc1fbw for more information.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeLoadException: Method 'AppendIdentityWhereCondition' in type 'Pomelo.EntityFrameworkCore.MySql.Update.Internal.MySqlUpdateSqlGenerator' from assembly 'Pomelo.EntityFrameworkCore.MySql, Version=6.0.0.0, Culture=neutral, PublicKeyToken=2cc498582444921b' does not have an implementation.
at Microsoft.Extensions.DependencyInjection.MySqlServiceCollectionExtensions.AddEntityFrameworkMySql(IServiceCollection serviceCollection)
at Pomelo.EntityFrameworkCore.MySql.Infrastructure.Internal.MySqlOptionsExtension.ApplyServices(IServiceCollection services)
at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.ApplyServices(IDbContextOptions options, ServiceCollection services)
at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.g__BuildServiceProvider|4_0(IDbContextOptions options, ConcurrentDictionary2 configurations) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument) at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.GetOrAdd(IDbContextOptions options, Boolean providerRequired) at Microsoft.EntityFrameworkCore.DbContext..ctor(DbContextOptions options) at Volo.Abp.EntityFrameworkCore.AbpDbContext
1..ctor(DbContextOptions1 options) at ddddd.EntityFrameworkCore.dddddDbContext..ctor(DbContextOptions
1 options) in E:\ddddd\src\ddddd.EntityFrameworkCore\EntityFrameworkCore\dddddDbContext.cs:line 67
at ddddd.EntityFrameworkCore.dddddDbContextFactory.CreateDbContext(String[] args) in E:\ddddd\src\ddddd.EntityFrameworkCore\EntityFrameworkCore\dddddDbContextFactory.cs:line 21
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContextFromFactory(Type factory, Type contextType) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.<>c__DisplayClass24_0.b__1() at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func
1 factory)
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType, String namespace)
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.b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Exception has been thrown by the target of an invocation.
-
So I can't enjoy the latest features of suite v5.0.0 preview?
2 Answer(s)
-
0
hi
We will release the ABP 5.0 rc1 recently days.It target to net 6.0 official version.
-
0
what are the new abp commercial features. the blog only lists abp general framework Enhancements