[
https://issues.jenkins-ci.org/browse/JENKINS-13863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163259#comment-163259
]
Aaron Laws commented on JENKINS-13863:
--------------------------------------
I'm not sure what the problem is. I can reproduce it reliably, though. If the
solution file is in a child directory of the PWD, I cannot build the project
directly using the msbuild plugin, but must add a build step before msbuild to
change the PWD (something like {{cd proj}}). Perhaps some sample output is
helpful.
> MSBuild is unable to build projects in a different directory
> ------------------------------------------------------------
>
> Key: JENKINS-13863
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13863
> Project: Jenkins
> Issue Type: Bug
> Components: msbuild
> Affects Versions: current
> Environment: MS Windows Server 2008
> Reporter: Aaron Laws
> Assignee: kdsweeney
> Priority: Minor
> Labels: path, plugin
>
> I use SVN to checkout a project to {{.\proj\}} and a dependency to
> {{.\dep\}}. The {{.sln}} file is at {{.\proj\proj.sln}}. I us the MsBuild
> plugin with the setting "MsBuild Build File" = "{{proj\proj.sln}}" (or a
> number of variants such as {{.\proj\proj.sln}}). Msbuild fails with
> {{MSB1009: Project file does not exist.}} However, running a similar command
> manually succeeds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira