I'm trying to deploy a appx package from C# to a Windows Phone Emulator as seen here:
How to deploy an .appx into Windows Phone 8.1
The thing is that the method GetDevices()
returns a list of devices like this:
- {Device}
- {Emulator 8.1 WVGA 4 inch 512MB(ES)}
- {Emulator 8.1 WVGA 4 inch(ES)}
- {Emulator 8.1 720P 4.7 inch(ES)}
I don't know why it appends the (ES) at the end. After i execute the code, the Emulator launches but it gets stuck. It does not work.
Can i instead, have a already running Emulator and choose that one?
you can try using Application Deployment Tools ( XapDeploy.exe ) , for more information you can follow this link : https://msdn.microsoft.com/en-us/library/windows/apps/ff402565(v=vs.105).aspx
Step by Step :
Let's try. but first...
PRE REQUIREMENTS
I did create a batch script file (.bat) to execute all steps required. Now I'm having some throubles to deploy the App. But it can be a starting point.
The script is following:
You can also build the your Project (it will generate an Appx automatically) and use autogenerated Appx to deploy to emulator or device as follows:
I hope it helps you, but if you already have found the solution, please, let me know.