Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 942443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:16:22+00:00 2026-05-15T22:16:22+00:00

I had a unit test project for my windows phone 7 app ViewModels using

  • 0

I had a unit test project for my windows phone 7 app ViewModels using the April Tools Refresh and everything worked fine. I just updated to the beta tools and now I can’t get the test project to add a reference to nunit. The error I receive is

“Reference can not be added because it was not built using the Windows Phone runtime. Windows Phone projects will work only with Windows Phone assemblies.”

What type of project should/can I create for a test project?

I also use ReSharper to run my tests. I was able to get it to build by copying the project from my old solution and adding it to the new beta solution. But when I run the tests I get the following error from ReSharper:

Unit Test Runner failed to load test assembly: JetBrains.ReSharper.TaskRunnerFramework.TaskException: Could not load file or assembly ‘System.Device, Version=2.0.5.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e’ or one of its dependencies. The system cannot find the file specified.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:16:23+00:00Added an answer on May 15, 2026 at 10:16 pm

    I found Jamie Cansdale’s Silverlight NUnit Project Templates which did the trick.

    Basically you use these templates, update the Silverlight version to 4 and update the ProjectTypeGuids to match the WP7 app project file.

    Check out all the details on my blog:
    http://dotnetcatch.wordpress.com/2010/07/26/unit-testing-nunit-a-wp7-project/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had set up a bunch of NUnit unit tests using the Test connection
In the test project for my android app I initially had a series of
In order to automate unit tests on TeamCity I had to create a test
I am building a scala web project using scala test, lift, jpa, hibernate, mercurial
I'm using Netbeans 7.0.1 in a PHP project. I've installed XAMPP 1.7 in Windows
For my project I am using the integrated Visual Studio unit-testing framework but I
Im using the Prism/Composite Application Library and trying to unit test some code that
Say (100% hypothetically) that I've accidentally added a unit test project as project type
I am creating a unit testing project for my application. It was working fine
I'm currently creating a paired unit test assembly for every assembly in my project,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.