Could not load Identity Object

Could not load Identity Object

Old forum URL: forums.lhotka.net/forums/t/11420.aspx


st3fanus posted on Thursday, June 21, 2012

Hi all..

I'm creating silverlight app, i used Silverlight 5 and Csla 4.3.12

I defined : 4 project

1. Solasoft.Lib.Net

2. Solasoft.Lib.Sl

3. Solasoft.Sl

4. Solaosft.WebHost

I have an Error , Like :


Object type or assembly could not be loaded
Stefanus Cipto: (Solasoft.Lib.Net.UserAccount.SolasoftIdentity, Solasoft.Lib, Version=1.0.0.0, Culture=neutral, PublicKeyToke=null)

Is there any something I'm missing ??

Thanks a lot

 

Stefanus

JonnyBee replied on Thursday, June 21, 2012

Hi,

SolaSoft.Lib.XYZ   (whether NET or SL)  must have the same assembly name and namespace definition.

IE:
SolaSoft.Lib.Net    ==> solasoft.lib.dll    (for .NET)
SolaSoft.Lib.Sl       ==> solasoft.lib.dll   (for SL)

I would also recommend to use SolaSoft.Lib as the "Default namespace" for both projects.

This is required in order to make cross-platform serialization work.

Copyright (c) Marimer LLC