Please add the "Win32" Platform

brian's Avatar

brian

31 Jul, 2015 07:40 PM

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.

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Jul, 2015 11:39 PM

    Feodor Fitsner's Avatar

    You can switch to appveyor.yml and set any platform there.

  2. 2 Posted by brian on 01 Aug, 2015 05:04 AM

    brian's Avatar

    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.)

  3. Support Staff 3 Posted by Feodor Fitsner on 01 Aug, 2015 05:07 AM

    Feodor Fitsner's Avatar

    AngularJS does the job :)

  4. 4 Posted by brian on 01 Aug, 2015 07:29 PM

    brian's Avatar

    I confirmed that this works. See my appveyor.yml at https://github.com/briansmith/ring.

  5. 5 Posted by Josua Mayer on 06 Aug, 2017 04:08 PM

    Josua Mayer's Avatar

    I just came across this same issue, and would like to request adding Win32 as platform name, in favour of the current x86.

    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.

    Is there a known workaround? This is what I came up with so far:
    Before-Build Script:
    if "%platform%"=="x86" set platform=Win32

    This way, the actual build succeeds; sadly right after the last project finishes compiling, I get this line in teh build log:
    Project configuration not found: Project=ALL_BUILD, Configuration=Debug, Platform=x86.

    What triggers it? Is there another Pre-Something script where I could add my workaround?

  6. Support Staff 6 Posted by Ilya Finkelshte... on 07 Aug, 2017 01:24 PM

    Ilya Finkelshteyn's Avatar

    @Josua Mayer Simplest way to avoid placing appveyor.yml into repo is to use alternative location. This you can set platform correctly without checking in file you do not need to see in your fork.

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac