I am using a NAnt 0.84 script to build two Visual Studio C# DLLs. Originally, the script I inherited used the <exec> task below to build the first DLL:
<exec workingdir="${cvs.basepath}" program="${devenv}" > <arg value="${QAFramework.sln}" /> <arg value="/build" /> <arg value="${buildconfig.name}" /> <arg value="/out" /> <arg value="${build.out.path}" /> </exec> <copy todir="${build.dir}" file="${QAFramework.src}\bin\${buildconfig.name}\QAFramework.dll" /> This <exec> has the effect of calling Visual Studio C# .NET to compile the QAFramework solution. After the .sln file had been compiled, I copied the resulting file to where I wanted it: ${build.dir}. Then, I read in something I stumbled over on the net about NAnt that the preferred way to compile a Visual Studio solution was to use the NAnt <solution> task. It explicitedly disparaged using <exec> to execution devenv.exe. So, I converted the above to the following: <solution solutionfile="${QAFramework.sln}" configuration="${buildconfig.name}" outputdir="${build.dir}" /> This all worked beautifully on my machine. However, on my co-worker's machine, there was a progress message to the effect that 111 files had been copied to ${build.dir}, when less than 50 should have been copied. Examining that directory showed what appears to be a lot of system DLLs. The <solution> execution then continued on to get an internal error. Any idea why so many extra files were copied? I noticed that the <solution> task includes a includevsfolders attribute. I didn't know what it did, so I accepted the default of true. Could this attribute be involved since its description sounds like it is tied to the Visual Studio installatino in some way? Merrill ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users