Nant and The specified solution configuration Debugmcd is invalid

Today a friend of mine tell me that in his new windows vista computer one nant scritp stopped working giving the error The specified solution configuration “Debug|MCD” is invalid during the msbuild part of the script. After a brief search it turns out that the msbuild command line is not correct because it miss the /p:Platform instruction, my command line now is

1
2
3
<exec program="${MSBuild}"
    commandline=' ${ProjectDir}\${BuildSolutionName} /verbosity:quiet /T:rebuild 
   /p:Configuration=Debug /p:Platform="Any CPU"' basedir="."/>

now everything is ok.

alk.