Unit testing Windows phone 8单元测试兼容性

Unit testing Windows phone 8单元测试兼容性,unit-testing,windows-phone-8,windows-phone,Unit Testing,Windows Phone 8,Windows Phone,我下载了VisualStudioRC2并启动了一个WindowsPhone8.0项目。然后我创建了一个电话单元测试项目。不幸的是,我无法在测试项目中引用我的原始项目,因为测试项目的目标是windows phone 8.1 如何更改目标设备,以便对项目进行单元测试?要正确执行此操作,您需要执行以下步骤: 您必须至少具有Visual Studio 2012 Update 2 在Visual Studio 2012中打开项目并添加新项目 选择windows phone测试应用程序 继续在Visual

我下载了VisualStudioRC2并启动了一个WindowsPhone8.0项目。然后我创建了一个电话单元测试项目。不幸的是,我无法在测试项目中引用我的原始项目,因为测试项目的目标是windows phone 8.1


如何更改目标设备,以便对项目进行单元测试?

要正确执行此操作,您需要执行以下步骤:

  • 您必须至少具有Visual Studio 2012 Update 2
  • 在Visual Studio 2012中打开项目并添加新项目
  • 选择windows phone测试应用程序
  • 继续在Visual Studio 2013中编写代码
我能够使用这种方法将单元测试部署到我的手机上