I got CC.Net and NAnt (and MSBuild) running on a new VM-based build server (Win7-64 Pro).
CC.Net might just call MSBuild - but I ran into problems there when I was involved in the assembly goals of the project. The conditionals just don't have what I need. Even close.
Therefore, I decide to deal with these conditions by invoking MSbuild with NAnt, which fails every time. When I run nant script from the command line, I get the following:
[loadtasks] Failure scanning "C:\nant\bin\extensions\common\2.0\Collection
Gen.dll" for extensions. Could not load file or assembly 'Microsoft.VSDesigner,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
its dependencies. The system cannot find the file specified.
Buildfile: file:///c:/c7/projects/dyndata/dyndata.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: build
build:
[loadtasks] Scanning directory "c:\nantcontrib\bin\lib" for extension assemblies
.
[echo] Building DynData v7.0.7
BUILD FAILED
c:\c7\projects\dyndata\dyndata.build(24,12):
Failed to start MSBuild.
c:\c7\projects\dyndata\dyndata.build(24,12):
External Program Failed: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbui
ld.exe (return code was 1)
Total time: 0.4 seconds.
c:\c7\projects\dyndata\dyndata.build(24,12):
Failed to start MSBuild.
c:\c7\projects\dyndata\dyndata.build(24,12):
'C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe' failed to start.
The directory name is invalid
On this machine, there is a Designer builder on which the VS2010 Pro is installed. The correct build folder. The correct frame folder. Umpteen is looking for nant / msbuild, and this post yielded nothing significant.
These elements were tested and could not change the results:
Nant msbuild task with .net 4.0 rc
.NET- NAnt/MSBuild + SVN ( Vault)
nant-, VS2010, - .
:)