Merrill, Can you try using the latest nightly build (http://nant.sourceforge.net/nightly/builds) ? There have been tons of fixes to the <solution> task since the 0.84 release.
Thanks, Gert ----- Original Message ----- From: "Merrill Cornish" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 09, 2004 12:21 AM Subject: [Nant-users] <solution> Task Oddness > 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 > ------------------------------------------------------- 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