I have recently tried using the Silverlight NUnit Project template (the one from Jamie Cansdale found here) for a Silverlight 4 project that uses WCF RIA 1.0. I seem to be close, but I still cannot get it to work.
Here's what I've done
- Create project. :)
- Change Silverlight version to 4.
- Set the WCF RIA Services Link to my WCF RIA project.
- Make sure that all of the references (except for mscorlib) are CopyLocal=True.
- Try to run the tests.
What happens?
The test fixture setup (which contains only the line "_context = new MyContext();") dies with this exception:
1 test failed: SetUp : System.TypeInitializationException : The type initializer for 'MS.Internal.JoltHelper' threw an exception. ---
Has anyone else been able to use the template to test against WCF RIA projects?