I'm wandering how can I properly use the NAnt <solution> task.

1. When I specify debug or release as a configuration it works, but does not use the 
project internal settings for additional link directories and thus the link process 
fails.
2. It's not clear how can I rebuild the whole solution. When I tried specifying 
"clean" it failed with the following message:

Any ideas?

Asher Sterkin,
NDS technologies, Israel, Principal Engineer
=================================================================
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
   at NAnt.VSNet.VcProject.BuildCPPFiles(ArrayList fileNames, VcConfiguration ba
seConfig, VcConfiguration fileConfig) in d:\My Files\nant\src\NAnt.VSNet\VcProje
ct.cs:line 257
   at NAnt.VSNet.VcProject.Compile(String configuration, ArrayList alCSCArgument
s, String strLogFile, Boolean bVerbose, Boolean bShowCommands) in d:\My Files\na
nt\src\NAnt.VSNet\VcProject.cs:line 128
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArgume
nts, String logFile, Boolean verbose, Boolean showCommands) in d:\My Files\nant\
src\NAnt.VSNet\Solution.cs:line 271
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in d:\My Files\nant\src\NAnt.V
SNet\Tasks\SolutionTask.cs:line 321
   at NAnt.Core.Task.Execute() in d:\My Files\nant\src\NAnt.Core\Task.cs:line 15
1
   at NAnt.Core.Target.Execute() in d:\My Files\nant\src\NAnt.Core\Target.cs:lin
e 217
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in
 d:\My Files\nant\src\NAnt.Core\Project.cs:line 772
   at NAnt.Core.Project.Execute() in d:\My Files\nant\src\NAnt.Core\Project.cs:l
ine 734
   at NAnt.Core.Project.Run() in d:\My Files\nant\src\NAnt.Core\Project.cs:line
797

Please send bug report to [EMAIL PROTECTED]

Total time: 0.6 seconds.
***********************************************************************************
Information contained in this email message is intended only for use of the individual 
or entity named above. If the reader of this message is not the intended recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error, please 
immediately notify the [EMAIL PROTECTED] and destroy the original message.
***********************************************************************************


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to