سؤال

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

  1. Create project. :)
  2. Change Silverlight version to 4.
  3. Set the WCF RIA Services Link to my WCF RIA project.
  4. Make sure that all of the references (except for mscorlib) are CopyLocal=True.
  5. 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?

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top