For Windows Store applications, a developer licence is required to run the unit tests, which is fine for the individual developer on his personal machine.
But for a continuous integration process on a build server, we really need the ability to acquire the licence automatically.
Microsoft provides a command line tool, but it still creates a interactive window, which breaks the process.
TailoredDeploy.exe AcquireDeveloperLicense
So does anyone know of any other way to automatically acquire a developer licence? Spawning new build nodes is going to be hell if it needs manual setup via. VPN for each of them.
I was suggested to use UI Automation, and here’s what I’ve conjured up so far:
To use this, a
app.manifestis required to run in elevated mode: