Sterling database created from Windows Console app won't read inside WP7 app

Jun 7, 2011 at 11:24 AM

I have created a Sterling database inside a standard Windows console app, then I have added that database file as a resource inside a WP7 app. I find that the database reading code causing an ArgumentNullException when accessing the LazyValue.Value member.

Please see details at SO: http://bit.ly/lQZpLs 

thanks

Kris

Coordinator
Jun 7, 2011 at 11:59 AM

Hi,

I'm guessing the issue is due to the full assembly-qualified name. If you create a Silverlight 3 project for your class definitions and share it (the DLL) you should be fine, but if you are just linking classes and sharing that way, it will fail because the assembly signature will be different between the console and the Windows Phone 7 app.