VS 2017 selected but uses Windows Server 2012

Jean-Philippe Steinmetz's Avatar

Jean-Philippe Steinmetz

16 Jul, 2017 04:26 PM

My project requires the version of PowerShell that currently ships in Windows 10/Server 2016. I have my build environment set to Visual Studio 2017 but the logs still reports using Windows Server 2012 R2 Datacenter. I have tried changing the environment to VS2015 and then back to VS2017 but it doesn't seem to work. How can I get my project to run against the Server 2016 image?

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jul, 2017 07:13 PM

    Feodor Fitsner's Avatar

    Do you set the image via UI or appveyor.yml. If your project is configured with appveyor.yml then "Image" UI setting will be ignored. You should add to appveyor.yml instead:

    image: Visual Studio 2017
  2. 2 Posted by Jean-Philippe S... on 17 Jul, 2017 05:13 AM

    Jean-Philippe Steinmetz's Avatar

    That was it. Thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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