tag:help.appveyor.com,2012-11-13:/discussions/suggestions/762-please-add-the-win32-platformAppVeyor: Discussion 2018-08-25T02:18:55Ztag:help.appveyor.com,2012-11-13:Comment/375370302015-07-31T19:40:27Z2015-07-31T19:40:27ZPlease add the "Win32" Platform<div><p>For some reason, Visual Studio creates native C++ projects
(using the Win32 template) using the "Win32" platform instead of
"x86", even though it uses "x64" for 64-bit native C++ projects.
Appveyor doesn't let me choose "Win32" for the Platform variable in
the matrix, so I can't build the 32-bit version of my project.</p></div>briantag:help.appveyor.com,2012-11-13:Comment/375370302015-07-31T23:39:55Z2015-07-31T23:39:55ZPlease add the "Win32" Platform<div><p>You can switch to <code>appveyor.yml</code> and set any platform
there.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375370302015-08-01T05:04:51Z2015-08-01T05:04:51ZPlease add the "Win32" Platform<div><p>Thanks! I did not realize that was possible. IMO, it is still
worth adding to the UI. (BTW, I am very impressed by how well your
UI works.)</p></div>briantag:help.appveyor.com,2012-11-13:Comment/375370302015-08-01T05:07:15Z2015-08-01T05:07:15ZPlease add the "Win32" Platform<div><p>AngularJS does the job :)</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375370302015-08-01T19:29:45Z2015-08-01T19:29:45ZPlease add the "Win32" Platform<div><p>I confirmed that this works. See my appveyor.yml at <a href="https://github.com/briansmith/ring">https://github.com/briansmith/ring</a>.</p></div>briantag:help.appveyor.com,2012-11-13:Comment/375370302017-08-06T16:08:20Z2017-08-06T16:08:22ZPlease add the "Win32" Platform<div><p>I just came across this same issue, and would like to request adding Win32 as platform name, in favour of the current x86.</p>
<p>Now I could add a appveyor.yml file to my repository, but I'd rather not, because I am working on a fork and don't want that file to be part of my pull-requests, and/or history.</p>
<p>Is there a known workaround? This is what I came up with so far:<br>
Before-Build Script:<br>
if "%platform%"=="x86" set platform=Win32</p>
<p>This way, the actual build succeeds; sadly right after the last project finishes compiling, I get this line in teh build log:<br>
Project configuration not found: Project=ALL_BUILD, Configuration=Debug, Platform=x86.</p>
<p>What triggers it? Is there another Pre-Something script where I could add my workaround?</p></div>Josua Mayertag:help.appveyor.com,2012-11-13:Comment/375370302017-08-07T13:24:29Z2017-08-07T13:24:29ZPlease add the "Win32" Platform<div><p><strong>@Josua Mayer</strong> Simplest way to avoid placing <code>appveyor.yml</code> into repo is to use <a href="https://www.appveyor.com/docs/build-configuration/#alternative-yaml-file-location">alternative location</a>. This you can set platform correctly without checking in file you do not need to see in your fork.</p></div>Ilya Finkelshteyn