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 05:14:38 GMT


Sergey Grebnov commented on CB-6732:

Possible approaches:
1. Use regexp to remove amd64 at the end. MSBuild folders structure is strongly defined so
the risk that there is no x86 msbuild version uneder /bin folder is low.
2. Adding Wow6432Node when running in x64 mode.
3. Running  "%VS120COMNTOOLS%\vsvars32.bat" before build to provision required environment,
after that we can use 'msbuild' and we don't need to manually search for location
4. Use (/p:PlatformTarget=x86) as per Does not

> [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