I have added the wp8 platform and tried to build it but it gave me these errors. Could any one notify the error and explain me the reason. Here is the error displayed..
Your environment has been set up for using Node.js 0.12.7 (x64) and npm.
C:\xampp\htdocs\proj>ionic build wp8
cp: no such file or directory: C:\xampp\htdocs\proj\resources\android\icon\
drawable-xhdpi-icon.png
cp: no such file or directory: C:\xampp\htdocs\proj\resources\android\icon\
drawable-xhdpi-icon.png
Running command: "C:\Program Files (x86)\nodejs\node.exe" C:\xampp\htdocs\proj\hooks\after_prepare\010_add_platform_class.js C:\xampp\htdocs\proj
add to body class: platform-wp8
Running command: cmd "/s /c "C:\xampp\htdocs\proj\platforms\wp8\cordova\bui
ld.bat""
Building project: C:/xampp/htdocs/proj/platforms/wp8/proj.sln
Configuration : debug
Platform : any cpu
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
C:\xampp\htdocs\proj\platforms\wp8\proj.csproj(211,5): error MSB4019: The
imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsPhone\v8.0\Mic
rosoft.WindowsPhone.v8.0.Overrides.targets" was not found. Confirm that the path
in the <Import> declaration is correct, and that the file exists on disk.
ERROR: Error code 1 for command: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild
with args: C:/xampp/htdocs/proj/platforms/wp8/proj.sln,/clp:NoSummary;NoI
temAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=debug,/p:Platform=
any cpu
ERROR building one of the platforms: Error: cmd: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 2
at ChildProcess.whenDone (C:\Users\Harini\AppData\Roaming\npm\node_modules\c
ordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
C:\xampp\htdocs\proj>