cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <>
Subject [jira] [Commented] (CB-6732) [WP8] Fix "MSBuild 64 bit is not supported" build error
Date Thu, 22 May 2014 04:46:38 GMT


Sergey Grebnov commented on CB-6732:

>From Stefan

The problem comes from the bitness of the process you are executing the command from. I guess
that you have 64bit Node.js installation and that's why `cordova build wp8` does not works
for you, but calling directly the platform script works. It all boils down to the registry
key setting for MSBuildToolsPath which is:

   - for 64-bit process (
   *HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0*) -
   C:\Program Files (x86)\MSBuild\12.0\bin\amd64\
   - and shimmed for 32bit process on 64bit architectures (
   - C:\Program Files (x86)\MSBuild\12.0\bin\

I have VS 2013 Update 2 on my machine. I do not have any other VS installations.

> [WP8] Fix "MSBuild 64 bit is not supported" build error
> -------------------------------------------------------
>                 Key: CB-6732
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.5.0
>         Environment: Windows 8.x x64, VS 2013
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
> From dev mail thread:
> Our change to not require msbuild in the user environment path is failing. System returns
(respectively) :
> C:\Program Files (x86)\MSBuild\12.0\bin\amd64\ 
> and 
> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
> Which results in the following error message:
> "Building Windows Phone application using MSBuild 64 bit is not supported. If you are
using TFS build definitions, change the MSBuild platform to x86."

This message was sent by Atlassian JIRA

View raw message