Pex and Silverlight 4 Unit Testing (using Silverlight 4 Toolkit unit test framework) RRS feed

  • Question

  • Hi all,


    im trying to make use of Silverlight 4 Toolkit unit test framework and pex, but when pex creates the new Test project (using the toolkit unit test framework, so it generates a Silverlight project and a Web project to host it) then i get an error about the assembly "Microsoft.Pex.Linq".

    I tryied to add the reference manually, but since it isn't a Silverlight assembly i can't.

    Another problem is that i look at the AssemblyInfo file in the generated Silverlight project and the attributes [assembly: AllowPartiallyTrustedCallers] and [assembly: SecurityRules(SecurityRuleSet.Level1)]

    The problem is that now my test project doesn't build and any try to run pex agains fails (well, it does nothing, but no error appears).

    Has someone had the same problem or knows whats going on?

    Thanks in advance!

    En caso de que la respuesta te sirva, porfavor, márcala como válida

    Muchas gracias y suerte!

    Javier Jiménez Roda

    Blog: http://jimenezroda.wordpress.com
    Follow jimenezroda on Twitter
    Wednesday, April 13, 2011 8:47 AM