Question

When trying to add the wp8 platform to a project, using:

phonegap local build wp8

It fails. Requiring msbuild x86.

C:\Program Files (x86)\MSBuild\Microsoft\WindowsPhone\v8.0\Microsoft.WindowsPhon e.v8.0.Overrides.targets(15,9): error : Building Windows Phone application using MSBuild 64 bit is not supported. If you are using TFS build definitions, change the MSBuild platform to x86. [C:\funiz\platforms\wp8\Funiz.csproj] ERROR: MSBuild failed to create .xap when building cordova-wp8 for debugging.

This is a Windows 8.1 machine, with Visual Studio Ultimate 2013, Update 2 RC.

The PATH environment variable is set to:

C:\Users\Yoram Kornatzky\AppData\Roaming\npm;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v4.0.30319

I tried removing the Frame64 element from the PATH. But it still fails.

Any insight would be appreciated.

Was it helpful?

Solution

You haven't specified the build template you are using. But if you are using DefaultTemplate in your team build definition, change value of parameter "MSBuild Platform" from Auto to X86

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top