Problem building with VS 2015 release candidate

Roland's Avatar

Roland

03 May, 2015 07:37 AM

Has anyone managed to get a build working with VS 2015 RC? My build is broken since I upgraded as the build does not recognise some of the new language features.

There is no specific option for this in the Environment / Operating system. Anyone know if I can resolve this or does the appveyor team have to install the build tools first?

  1. Support Staff 1 Posted by Feodor Fitsner on 04 May, 2015 03:04 AM

    Feodor Fitsner's Avatar

    We've just deployed a new build worker image with Visual Studio 2015 RC. Read this post for more details: http://www.appveyor.com/updates/2015/05/03

  2. 2 Posted by Roland on 04 May, 2015 08:27 AM

    Roland's Avatar

    Thanks for responding. I chose the Visual Studio 2015 RC option in the environments section and alas I am getting the same compilation problems where the build is not recognising the new c#6 language features and is therefore failing.

  3. Support Staff 3 Posted by Feodor Fitsner on 04 May, 2015 01:27 PM

    Feodor Fitsner's Avatar

    Can you drop a build log? I guess the problem is that by default MSBuild 12 is called instead of 14. Use you own build command with MSBuild 14.

    - Feodor

  4. 4 Posted by Roland on 04 May, 2015 03:09 PM

    Roland's Avatar

    Build log attached. I can confirm it is by default using msbuild12. I look look into the command line option when I get some time tomorrow,.

  5. Support Staff 5 Posted by Feodor Fitsner on 04 May, 2015 04:23 PM

    Feodor Fitsner's Avatar

    Yeah, there is msbuild 4.0 in PATH by default. Add this to "Install script":

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

    In the mean time I've added a new issue to fix that: https://github.com/appveyor/ci/issues/257

  6. 6 Posted by Roland on 09 May, 2015 11:36 AM

    Roland's Avatar

    That solved the problem. Thanks very much

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 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

 

21 Mar, 2019 05:38 PM
21 Mar, 2019 06:16 AM
21 Mar, 2019 01:47 AM
20 Mar, 2019 11:39 PM
20 Mar, 2019 09:03 PM
20 Mar, 2019 08:55 PM