I'm running the following:

OS: Windows XP SP3 on Intel i5 quad core @2.66GHz / core with 3GB RAM
.NET Runtime version 2.0.50727.3607
Visual Studio 2005 - Version 8.0.50727.762
CruiseControl.NET 1.5 - server version 1.5.7256.1

I have a <devenv> task in my ccnet.config which parses and loads
correctly and gets executed at the correct point in time. However, the
invocation of devenv fails with an error message printed from visual
studio 2005 itself to the effect that the parameters are incorrect.

The command line generated by CruiseControl.NET looks like this:

    [correct path to]\devenv.com "mysolution.sln" /rebuild "Debug|
Win32"

and devenv complains over the parameters.

and if I run the same command as above directly from a command prompt
(DOS box...) I get the same complaint from devenv.

However, if I modify the command line to look like this (note the
position of the /rebuild flag):

    [correct path to]\devenv.com "mysolution.sln" "Debug|Win32" /
rebuild

then it runs fine from the command prompt.

Thus it seems to me that the command line generated by
CruiseControl.NET for Visual Studio 2005 is an incorrect format.
Searching google etc I didn't find any information on this.
Anyone got any idea / fix for this?

Reply via email to