Get appveyor to build using VS2015

jageall's Avatar


27 Jun, 2015 09:25 AM

I am having issues trying to get this solution to build using c# 6.0

i have tried:

- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%

didn't make any difference

- "C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" "Source\IdentityServer.v3.MongoDb.Admin.sln" /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

isn't valid, I probably did something silly though

and I updated the version numbers in the project/solution files to 14.0 which also made no difference

I have avoided setting the os in the yaml file as per this blog entry where it says 'If your project is using custom image for MinGW, Cygwin, Qt or Visual Studio 2015 RC we encourage you to switch to "default" image (remove "os:" setting from appveyor.yml) as build workers on a new OSS environment have all these software installed.'.

How do i get appveyor to see the project/solution as being 2015 so it builds using c# 6?

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Jun, 2015 06:34 PM

    Feodor Fitsner's Avatar
  2. 2 Posted by jageall on 27 Jun, 2015 07:42 PM

    jageall's Avatar

    thanks, it sure does, if i diff that with the one that failed, the only difference is a newline at the end of the file. The only other differences is that the solution file and the project file are both 2015 format. Does it require both or was the failure just a transient error?

  3. Support Staff 3 Posted by Feodor Fitsner on 27 Jun, 2015 07:44 PM

    Feodor Fitsner's Avatar

    For AppVeyor only solution with Visual Studio 14 header matters.

  4. 4 Posted by jageall on 27 Jun, 2015 07:54 PM

    jageall's Avatar

    Good to know, thanks for the help. Loving the new build environments btw, so much faster!

  5. jageall closed this discussion on 27 Jun, 2015 07:54 PM.

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

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