Hello,
By mistake, I deleted all migration files from the application.
So I generated a new migration file. When I run update-database, I get the following exception:
System.Runtime.Serialization.SerializationException: Type is not resolved for member 'Abp.AbpException,Abp, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'. at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate) at System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner) at System.Data.Entity.Migrations.Design.ToolingFacade.Update(String targetMigration, Boolean force) at System.Data.Entity.Migrations.UpdateDatabaseCommand.<>c__DisplayClass2.<.ctor>b__0() at System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command) Type is not resolved for member 'Abp.AbpException,Abp, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'.
That occurred during Seed somewhere seems!
Thanks
3 Answer(s)
-
0
Hi,
Could it be related with your previous problem #2622@14f99776-84dd-4ee9-ba5d-85d5c3170851 ? What happens when you comment out seed method.
Thanks.
-
0
Thanks Ismail. It was a problem in the Seed itself. Resolved now.
-
0
Hi,
Thanks for your feedback :)