Bugs item #1078558, was opened at 2004-12-03 11:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1078558&group_id=31650
Category: Tasks
Group: 0.84-rc1
Status: Open
Resolution: None
Priority: 5
Submitted By: Hani Atassi (haniatassi)
Assigned to: Nobody/Anonymous (nobody)
Summary: MIDL task throws an exception.
Initial Comment:
The MIDL task throws an error on the second time run if
the following parameters are not specified:
- header
- iid
The error is:
======================
INTERNAL ERROR
System.ArgumentNullException: Value cannot be null.
Parameter name: path2
at System.IO.Path.Combine(String path1, String path2)
at NAnt.VisualCpp.Tasks.MidlTask.NeedsCompiling
(String outputFile) in c:\Program Files\Nant\nant-0.85-
rc1\src\NAnt.VisualCpp\Tasks\MidlTask.cs:line 364
at NAnt.VisualCpp.Tasks.MidlTask.NeedsCompiling() in
c:\Program Files\Nant\nant-0.85-rc1
\src\NAnt.VisualCpp\Tasks\MidlTask.cs:line 344
at NAnt.VisualCpp.Tasks.MidlTask.ExecuteTask() in
c:\Program Files\Nant\nant-0.85-rc1
\src\NAnt.VisualCpp\Tasks\MidlTask.cs:line 302
at NAnt.Core.Task.Execute() in c:\Program
Files\Nant\nant-0.85-rc1\src\NAnt.Core\Task.cs:line 177
at NAnt.Core.Target.Execute() in c:\Program
Files\Nant\nant-0.85-rc1\src\NAnt.Core\Target.cs:line
249
at NAnt.Core.Project.Execute(String targetName,
Boolean forceDependencies) in c:\Program
Files\Nant\nant-0.85-rc1\src\NAnt.Core\Project.cs:line
882
at NAnt.Core.Project.Execute() in c:\Program
Files\Nant\nant-0.85-rc1\src\NAnt.Core\Project.cs:line
839
at NAnt.Core.Project.Run() in c:\Program
Files\Nant\nant-0.85-rc1\src\NAnt.Core\Project.cs:line
908
=================
To reproduce the problem, write the following task in a
build file (With a correct filename):
<midl filename="EIV5Serial.odl"
tlb="Debug\EIV5Serial.tlb" />
The first run of the build works fine, the second time you
will get an exception.
Hope this helps..
Thanks,
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1078558&group_id=31650
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers