How to Deploy .xap using command prompt
Asked Answered
D

1

1

I want to deploy xap to windows phone emulator 7.1 using command prompt and i have been following the msdn article http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565(v=vs.105).aspx#BKMK_commandline

i am able to build the project using this command: MSBuild D:\Projects\PhoneApp1\PhoneApp1\PhoneApp1.csproj

but when i run this command: XapDeployCmd.exe /installlaunch D:\PhoneApp1.xap /targetdevice:xd i get error saying "'XapDeployCmd.exe' is not recognized as an internal or external command,operable program or batch file." i have the visual studio update 2 installed.what does this mean and how should i use command prompt for deploying my xap.

Discant answered 3/5, 2014 at 12:35 Comment(0)
A
2

Did you check if XapDeployCmd.exe direcoty is on your environment path?

if not you can add the whole path, like: C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment\XapDeployCmd.exe /installlaunch D:\PhoneApp1.xap /targetdevice:xd

I would also check if you have any emulator installed

Albertson answered 10/8, 2014 at 15:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.