Using Visual Studio 2015 Community edition, I am unable to run even the most basic Universal Windows Unit Tests. Once I create a test, and try to run it through Test Explorer, the code compiles and seems to deploy the unit test windows app. The app stays up for about 10 seconds, then closes itself. The test runner's result for the test: Inconclusive: Failed to initialize client proxy: could not connect to test process .
Running Visual Studio as an Administrator didn't seem to have any effect.
To create the sample project that caused my error:
- Start a new Project
- From the templates, choose: Templates > Visual C# > Windows > Universal > Unit Test App (Universal Windows)
- Write a simple test:
Assert.IsTrue( true )
- In the menu, Test > Run > Run all tests
The Output window for the Tests option shows this:
Checking whether required frameworks are installed...
Registering the application to run from layout...
Deployment complete (3566ms). Full package name: "edd458e2-c3b1-4d8a-b7c3-5669e2fe7d75_1.0.0.0_x86__97afpx01qh2gg"
Error : DEP3000 : Attempts to stop the application failed. This may cause the deployment to fail. Exception from HRESULT: 0x92330047
Updating the layout...
Deployment complete (104ms). Full package name: "edd458e2-c3b1-4d8a-b7c3-5669e2fe7d75_1.0.0.0_x86__97afpx01qh2gg"
Aucun commentaire:
Enregistrer un commentaire