Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28679

msbuild plugin expects a path to msbuild.exe, but shows a warning if you specify it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • msbuild-plugin
    • None
    • Jenkins ver. 1.615
      msbuild-plugin 1.24

      in the msbuild system config section where you specify the msbuild installations, the "Path to MSBuild" textbox expects a directory (eg C:\windows\Microsoft.NET\Framework\v4.0.30319). if you specify the full path to msbuild.exe (eg C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe) it shows a warning:

      C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe is not a directory on the Jenkins master (but perhaps it exists on some slaves)

      however, if you omit the \msbuild.exe suffix, then builds fail with the following error:

      'C:\windows\Microsoft.NET\Framework\v4.0.30319' is not recognized as an internal or external command,
      operable program or batch file.

      so, either:

      1. the config dialog should allow (and require) the \msbuild.exe suffix, or
      2. the build executor should append the \msbuild.exe suffix.

            marshall777 Lionel Cabasson
            spongman spong man
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: