Search code examples
node.jscordovawindows-phone-8windows-phone-8-sdk

PhoneGap 3.1 Local Build WP8


I'm trying to play with new phonegap-cli main focus is to setup wp8 platform and when running command:

  phonegap build wp8

It tries to use PhoneGap Build, which I presume happens because it hasn't found my installed SDK in any path.

I tried to test my thesis and ran this command:

  phonegap local build wp8

And it returns this error: enter image description here

I have .NET Framework v4.0 installed, so this path exists:

C:\Windows\Microsoft.NET\Framework\v4.0.30319

So the only thing I think happens is that phonegap can't find where SDK is installed, so I have been searching through the documentation and I couldn't find anything regarding which Environment Variable PhoneGap checks.

So I would really appreciate any kind of help here.


Solution

  • Please make sure that you have added the framework path to the system PATH variable.

    In my case it was the above reason and also related to Ant installed and configuration.