JustMock + Windows Phone 7

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    40 posts
    Member since:
    Jul 2008

    Posted 23 Jun 2011 Link to this post

    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=, Culture=neutral, PublicKeyToken=969DB8053D3322AC'.
    I'm assuming it wants the full Silverlight version of that. 

  2. Ricky
    Ricky avatar
    467 posts

    Posted 24 Jun 2011 Link to this post

    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,
    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
Back to Top