This is a migrated thread and some comments may be shown as answers.

[Solved] Error metadata

1 Answer 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jose David Escobar Ardila
Top achievements
Rank 1
Jose David Escobar Ardila asked on 18 Dec 2010, 08:22 PM
I had got, an error whit the implementation of the model DDD(Domain driver design), it says that i shuld separate my entities  of the assembly data. but i didn't i have this error "
No metadata has been registered for class Alesa.PMantenimiento.Datos.CaractEquipo. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced. The class was loaded from file:///E:/Proyectos/Desarrollo Aplicaciones .net/Alesa.Erp/Alesa.PMantenimiento/Alesa.PMantenimiento.WPF/bin/Debug/Alesa.PGeneral.Entities.DLL.)"

I need help with that, thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Damyan Bogoev
Telerik team
answered on 20 Dec 2010, 06:03 PM
Hello Jose David Escobar Ardila,

Telerik OpenAccess enhances the assemblies during build. In order for the build process to know that the enhancer should be called when adding a new rlinq the appropriate tasks are added to projects files.
To add this task manually you have to open up the YourProjectName.csproj and at the bottom just prior to the </Project> tag insert the following line.

<ImportCondition="Exists('$(MSBuildExtensionsPath)\OpenAccess.targets')"Project="$(MSBuildExtensionsPath)\OpenAccess.targets"/>

Additional information regarding the integration with OpenAccess Enhancer can be found here.
Hope that helps.

Regards,
Damyan Bogoev
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Tags
General Discussions
Asked by
Jose David Escobar Ardila
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Share this question
or