MSbuild command arguments

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: msbuild-plugin
    • None
    • Environment:
      Windows 7 64, Visual Studio 2010

      I'm trying to setup msbuild with my existing .sln but I face a problem.

      I need to set an include path so I add the properties /p:MY_SDK=\path\to\my\sdk\ and in my vcproj I add the VC++ include dir like that : $(MY_SDK)

      The command called by the plugin will look like :
      cmd.exe /C C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe /p:MY_SDK=\path\to\my\sdk\ <path_to_my_sln>.sln && exit %%ERRORLEVEL%%

      When called by Jenkins, the compilation will fail as the include dir is not taken in account.

      If I copy the exact same line in a windows terminal, the compilation will succeed.

      I'm quite lost here.

            Assignee:
            kdsweeney
            Reporter:
            Julien R
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: