Hi,

new outputdir attribute works great for assembly output but for
documentation makes few more folders under outputdir when doc output is set
e.g. to 'debug\bin\aa.xml'.

This should patch it:

--- E:\src\nant\distrib\NAnt.VSNet\ConfigurationSettings.cs Tue Aug 26
22:04:44 2003
+++ E:\src\nant\src\NAnt.VSNet\ConfigurationSettings.cs Wed Aug 27 14:32:25
2003
@@ -55,7 +55,7 @@
                     FileInfo fiDocumentation = new
FileInfo(projectSettings.RootDirectory + @"/" +
elemConfig.Attributes["DocumentationFile"].Value);
                     _docFilename = fiDocumentation.FullName;
                 } else {
-                    _docFilename = Path.GetFullPath(Path.Combine(outputDir,
elemConfig.GetAttribute("DocumentationFile")));
+                    _docFilename = Path.GetFullPath(Path.Combine(outputDir,
Path.GetFileName(elemConfig.GetAttribute("DocumentationFile"))));
                 }
                 _settings.Add(@"/doc:""" + _docFilename + @"""");

Directory.CreateDirectory(Path.GetDirectoryName(_docFilename));



      S pozdravem

        Ing. Martin Aliger

<<gordic.gif>>

Reply via email to