This is a migrated thread and some comments may be shown as answers.

JustMock + Windows Phone 7

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 2
Stephen asked on 23 Jun 2011, 04:41 PM
It looks like it doesn't work. 

Is there a way to get JustMock running on the Windows Phone 7 framework? 

I tried it and got an error: 
Could not load type 'System.Reflection.Emit.ModuleBuilder' from assembly 'mscorlib, Version=3.7.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC'.
I'm assuming it wants the full Silverlight version of that. 

cheers,
Stephen

1 Answer, 1 is accepted

Sort by
0
Ricky
Telerik team
answered on 24 Jun 2011, 08:18 AM
Hi Stephen,

You are right that you can't run JustMock in windows phone 7, since Reflection.Emit is not directly supported in that platform. The alternate way is to reference WP7 library from Silverlight test project and use Telerik.JustMock.Silverlight.dll there.


Kind regards,
Ricky
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Stephen
Top achievements
Rank 2
Answers by
Ricky
Telerik team
Share this question
or