Hi, I have a problem using the solution
task. I use the solution task by including the project files, not calling the
solution. In one of my projects there I
included the documentation-file task (=generate an xml doc file). When nant tries to build these
project, it fails saying the it couldn’t access the xml file. It doesn’t even
create the file anywhere. [call] System.IO.FileNotFoundException: Die Datei
C:\xxxx.xml konnte nicht gefunden werden. Dateiname: C:\xxxx.xml at
System.IO.__Error.WinIOError(Int32 errorCode, String str) at
System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean
overwrite) at
NAnt.VSNet.Tasks.Project.Compile(String strConfiguration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at
NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList
alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at
NAnt.Core.Project.Execute(String targetName) at
NAnt.Core.Tasks.CallTask.ExecuteTask() at NAnt.Core.Task.Execute() But it calls the documentation
process (I can see warning messages of missing source documentation in the
project output just before the exception). When I create a buildfile with
slingshot (with a solution only consisting of the project with the
documentation), I see the is a <csc> task with the doc parameter and
everything works fine. Is this a general nant problem or am
I just doing something wrong??? -- Mit
freundlichen Grüßen/Best Regards Florian
Benischke Softwareentwickler/
Programmer Entwicklung
Technische Software/Development Technical Software _______________________________ ALBAT + WIRSAM
Software AG |