Base solution for your next web application
Open Closed

Type is not resolved for member 'Abp.AbpException,Abp, ..' #2878


User avatar
0
bilalhaidar created

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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Could it be related with your previous problem #2622@14f99776-84dd-4ee9-ba5d-85d5c3170851 ? What happens when you comment out seed method.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    Thanks Ismail. It was a problem in the Seed itself. Resolved now.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thanks for your feedback :)