Base solution for your next web application
Open Closed

Databinding for Core project doesn't work #533


User avatar
0
alexnaldo created

Hi Guys,

I'm using DevExpress XtraReport to create reports.

In the Report Design, we uses BindindSource to DataBinding. When we select any database class from Core "Models" project the Visual Studio close unexpected. If I do the same thing using any class that doesn't inherited from FullAuditedEntity or AuditedEntity<> all work fine, even if the new class in the same project "Core", so the problem is ABP inheritance.

Does anyone can help me?

Thanks, Alexnaldo Santos


4 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    FullAuditedEntity or AuditedEntity are very simple classes (you can check in source code). I couldn't understand how a special problem occurs. You don't have to inherit from these classes if they have problems. You can directly implement IAudited and IFullAudited.

  • User Avatar
    0
    alexnaldo created

    Every class at Core project doesn't supports DataBinding, even a pure POCO class...

    Exception: "Could not load file or assembly 'Abp, Version=0.7.4.0, Culture=neutral, PublicKey=null' or one of its dependencies.

    Any class at Application project works fine, so I think that Abp.dll is not the problem, and only the Core project.

    May be Core does anything when was loaded, like a static methods, etc...

  • User Avatar
    0
    hikalkan created
    Support Team

    I suggest to upgrade all Abp.* nuget packaes to the latest version. This maybe the problem. Being problem of .Core project seems unreasonable to me. Also, "Could not load file or assembly..." is a very common error. Maybe some project does not have a refrence to the Abp.

  • User Avatar
    0
    alexnaldo created

    After updated to 0.7.4.1 worked fine!

    Tkns