Sonntag, 29. August 2010

Windows Phone 7: Tombstoning Bug with different assemblies for data contracts

If you are using different assemblies for your Windows Phone 7 application and your data / model which you wnat to be thomstoned then you get a “using unknown type” exception, if you come back to your Windows Phone 7 application. The reason for this ist, that the current Windows Phone 7 SDK has the bug that after thombstoning only the application assembly will be loaded. This bug will be fixed in the release :-)

The workaround for this problem is to put your data / model classes which will be used for thombstoning in the Windows Phone 7 application assembly.

Hope this tip will help anybody – it costs me nearly a day……

Keine Kommentare:

Kommentar veröffentlichen