Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keep getting load error in VS2017: Domain object

Cannot load " file reference ": Domain object with ID " guid " has already been defined in this or another domain model.

enter image description here

The file to be loaded is a DevExpress xpo data model file and the file itself has successfully loaded on at least 3 prior occasions.

I have searched for the ID guid on the whole hard disk without any result.

How can I fix this?

like image 548
David Avatar asked Jan 25 '20 23:01

David


1 Answers

The problem here is, you have already compiled the file. Look around in your build path for a compiled file, and either move or delete it. Whenever a file is already compiled in a location, the compiler tries to use its resources in the compilation of your new program. This then defines things multiple times, giving you this error.

like image 131
Vendetta Avatar answered Nov 09 '22 03:11

Vendetta