I'm using NAnt for the first time and I'm getting unexpected results from the solution task. I hoped that building a solution in either of these two ways would produce identical results - but they don't:
devenv /build debug Interface.sln <solution configuration = "${build.type}" solutionfile = "Interface.sln" verbose = "${build.verbose}"> </solution> where build.type=debug. The 'devenv' commmand succeeds and generates 3 files. The nant task fails and generally behaves differently from devenv. It 1. copies all the referenced dlls from the system folder they're in to the local directory - why? 2. fails with this message [solution] Starting compiler... [compile] error CS1548: Cryptographic failure while signing assembly 'c:\ifc\test\project\Interface\Interface.dll' -- 'Error reading key file '..\..\Interface.snk' -- The system cannot find the file specified. ' [solution] Failure! (exit code = 1) [solution] Build failed. [solution] Project 'Interface' failed! The file Interface.snk is in the directory with the source and build file. It looks to me like that path is supposed to be relative to an obj/Debug output directory, but nant hasn't switched directories. Is this a bug in the way NAnt is parsing the sln file, or am I not using the solution task properly? Also, can I prevent NAnt from copying the references to the local build directory? Thanks. -- -- Steve ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users