This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I've obfuscated my source code and when I try to open the database I get this error. What classes should I exclude from obfuscation? Thanks.
*** Exception: |
|
|
As the message says, "retrieve the LoaderExceptions property for more information." ReflectionTypeLoadException tells you which types were successfully loaded and what exceptions were encountered when loading the other types. I would expect however that you would need to exclude at minimum the entity types (remember LightSpeed uses the entity type name as the table name, and the entity field names as the column names, so if you obfuscate the entity type or its private fields, you're destroying your mappings). However if your obfuscator breaks Assembly.GetTypes() then that will prevent LightSpeed from building its mappings even if the entities themselves are not obfuscated (because LightSpeed searches the assembly for derived types). |
|