We would need to know some more about your setup and how you are
calling MSBuild
here is a sample of one of my projects
<tasks>
<msbuild>
&msbuild_global;
<workingDirectory>c:\work\sc_beta_build\ProjectsV2\Preapproval</
workingDirectory>
&msbuild_Preapproval;
<buildArgs>@c:\work\ex\Build\Artifacts\MSBuild
\Beta_switches.rsp</buildArgs>
</msbuild>
msbuild_global is where the msbuild executable is located
working directory is where my solution file is located
msbuild_preapproval is the name of the solution file
On Apr 6, 8:22 am, Mmarquee <[email protected]> wrote:
> Hi
>
> I have a problem that I don't seem to be able to solve (again!). I
> have got the source code to be pulled down from the sourcecode
> management system (in this case Seapine Surround), and have configured
> several build projects, which use MSBuild. When I run MSBuild from the
> commandline, the projects are built, but when they are called from
> CCNet, they don't build. In fact the MSBuild report shows that it
> doesn't actually use what I think it should be using.
>
> I can see that it doesn't expand environmental variables, but I do not
> get the same command line when run under CCNET. Anyone got any ideas
> where I can look?
>
> Cheers in advance
>
> Mark H