Cannot build project with Visual Studio 2015

XMLWordPrintable

    • Type: Bug
    • Resolution: Low Engagement
    • Priority: Medium
    • None
    • Affects Version/s: 5.10-OD-04.1
    • Component/s: .NET
    • 3
    • Severity 3 - Minor
    • 8

      It looks like Bamboo creates a bat file called devenvrunner.bat and uses this to run build commands.

      The problem is that it contains 2 lines:

      call "%BAM_VS_HOME%\VC\vcvarsall.bat" %BAM_VS_ARCH%
      call "%BAM_VS_HOME%\Common7\IDE\devenv.com" %BAM_ARGS%

      The problem with the first line is that vcvarsall.bat does not exist in VS 2015

      The problem with the second line is that when the build happens, this expands to:

      c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Common7\IDE\devenv.com

      instead of

      c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\\IDE\devenv.com

      Here are the errors:

      21-Jan-2016 14:28:27 c:\bamboo\build-dir\CXN-CXN13-JOB1>call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\VC\vcvarsall.bat" x86
      21-Jan-2016 14:28:27 The system cannot find the path specified.
      21-Jan-2016 14:28:27
      21-Jan-2016 14:28:27 c:\bamboo\build-dir\CXN-CXN13-JOB1>call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Common7\IDE\devenv.com" "Connexion.sln" /clean debug

      Version: Continuous integration powered by Atlassian Bamboo version 5.10.0 build 51017 - 15 Jan 16

            Assignee:
            Unassigned
            Reporter:
            reis
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: