Hi, If you call another build file in a sub directory using the <nant> task and the nested build file contains a <solution> task The path name used by the nested <solution> task is not correct. This patch fixes that problem.
Cheers, Eddie Index: Solution.cs =================================================================== RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/Solution.cs,v retrieving revision 1.10 diff -u -r1.10 Solution.cs --- Solution.cs 24 Aug 2003 19:56:47 -0000 1.10 +++ Solution.cs 25 Aug 2003 12:04:47 -0000 @@ -49,13 +49,13 @@ string fileContents; - using (StreamReader sr = new StreamReader(solutionFileName)) { + using (StreamReader sr = new StreamReader(_solutionTask.SolutionFile)) { fileContents = sr.ReadToEnd(); } Regex re = new Regex(@"Project\(\""(?<package>\{.*?\})\"".*?\""(?<name>.*?)\"".*?\""(?<proj ect>.*?)\"".*?\""(?<guid>.*?)\"""); MatchCollection mc = re.Matches(fileContents); - FileInfo fiSolution = new FileInfo(solutionFileName); + FileInfo fiSolution = new FileInfo(_solutionTask.SolutionFile); foreach (Match m in mc) { string project = m.Groups["project"].Value; ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers