Can I run Unit Test on a Windows Phone 8.1 device through Visual Studio 2015

this is my development environment

Windows 10
Visual studio 2015 professional 

it's my goal,

run unit test on the windows phone 8.1 device

this is my question,

I am creating an empty Unit Test App (Windows Phone) Visual C ++ project ,

  • I run the default empty test in Debug x86, it works on the emulator.
  • I changed x86 to ARM and connected to the Windows Phone 8.1 device, it does not work and displays a message:

    Cannot start PhoneUnitTestApp1.dll. Create a Windows Store project or a Windows Phone Unit Test.

I do not understand the message. The project I created is already a Windows Phone Unit Test project . How to run Unit Test on a device?

+4
1

:

unit test , , , , "x86". XAP , .

, "Any CPU". XAP .

. , , . http://dotnetbyexample.blogspot.in/2013/06/x86arm-configuration-gotcha-in-windows.html

0

Source: https://habr.com/ru/post/1618222/


All Articles