windows 10 universal - Unit testing in Visual Studio 2015 has stopped working -


i have c++ uwp unit testing project uwp c++ static library, in c++ windows 10 uwp app, in visual studio 2015 solution. i'm using unit testing built-in vs 2015. worked months , 1 day, message when tried run tests test explorer:

dep3000 : attempts stop application failed. may cause deployment fail. exception hresult: 0x92330047

after that, unit testing stopped working in visual studio. have attempted remedy situation far:

  1. manually delete old deployed unit testing app.
  2. manually deploy unit testing app.
  3. run "repair" option on vs 2015 installer.
  4. uninstall , reinstall vs 2015.
  5. use visualstudiouninstaller github , reinstall vs 2015.
  6. a mvp on msdn forums looked @ installer logs , said installed correctly according logs.
  7. made new solution new unit testing project.

the unit testing app launches, test app window comes minute or two, , app closes. however, test explorer window left busy bar rotating waiting response test app (i assume).

i have 3 development machines. unit testing has stopped working in same manner on 2 of them. 1 left. thing haven't done erase drive , reinstall windows 10 (and else) scratch. before did (or switched unit testing framework) thought i'd check here if on stack overflow knows how fix problem. seems though got stomped on in registry or configuration file vs has squirreled away somewhere, have no idea look.

thanks ahead of time.

here answering own question, it's answer nevertheless. spent ten weeks working microsoft's visual studio tech support (letting them remotely access system run test programs , produce log files). no 1 able figure-out going on. finally, put me in touch person implemented , maintains unit testing framework vs. went through couple of remote sessions developer examining system. on latest session figured-out failing.

the test app launched visual studio uses local network send unit testing results ide app. if there more 1 network adapter on computer, unit testing framework can confused , try communicating ide via wrong network adapter. thus, vs testexplorer hangs there waiting response test app while test app hangs there trying find testexplorer on wrong network.

the workaround: development system has 3 network adapters: ethernet, bluetooth , wi-fi. disabling both unused bluetooth , wi-fi adapters forced unit testing framework locate ide on correct adapter. after that, unit testing started function again. once started working, able re-enable other 2 adapters. assume if fails again, have go through same process.

microsoft include fix problem in future build of visual studio, until time, can remedy issue disabling unused network adapters, run unit tests can locate testexplorer, , re-enable adapters.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -