Using the Visual Studio 2015 Community Edition, I cannot run even the most basic universal tests of Windows devices. As soon as I create a test and try to run it through Test Explorer, the code compiles and seems to deploy the unit test windows application. The application remains for about 10 seconds, then closes. Test result for test: Inconclusive: Failed to initialize client proxy: could not connect to test process . Running Visual Studio as an administrator had no effect.
To create a sample project that caused my error:
- Start a new project
- From the templates, select: Templates> Visual C #> Windows> Universal> unit test Application (Universal Windows)
- Write a simple test:
Assert.IsTrue( true ) - In the menu Test> Run> Run all tests
In the "Exit" window for the "Tests" parameter, the following is shown:
Checking for installed frameworks ...
Registering the application to run from the layout ...
Deployment completed (3566 ms). Full name of the package: "edd458e2-c3b1-4d8a-b7c3-5669e2fe7d75_1.0.0.0_x86__97afpx01qh2gg"
Error: DEP3000: Attempts to stop the application failed. This may cause deployment to fail. HRESULT exception: 0x92330047
Layout update ...
Deployment completed (104 ms). Full name of the package: "edd458e2-c3b1-4d8a-b7c3-5669e2fe7d75_1.0.0.0_x86__97afpx01qh2gg"
Scott source share