There appears to be a bug in how the ibmmx license is generated when using entities from different assemblies.
If the first entity (ordered by name) belongs to a different assembly, the license key is encoded with the assembly name that this entity comes from, rather than the assembly name that the ibmmx will be in.
IdeaBlade.EntityModel.EntityModelMetadata
if (this.EntityMetadataCollection.Any<EntityMetadata>()) { return this.EntityMetadataCollection.First<EntityMetadata>().EntityType.GetTypeInfo().Assembly.FullName.Split(new char[] { ',' })[0]; }
|
When it is decoded it will use the assembly name where the ibmmx is in (IdeaBlade.Core.AuthHelper.DecryptModelMetadataLicense) this throws an exception
The workaround for now was to create an entity named 'A' (ensuring that it will be the first in the ordered list) and it now generates correctly.
Edited by smi-mark - 23-Apr-2013 at 7:02am