|
I am starting with nant with good
success until I am trying a nunit2 task.
I am using framework 1.0, nant .84. my dll – mvcNunit.dll runs with the NUnit
gui and I did compile it with the nunit.framework.dll
that came with nant. My target is : <target name="test"> <nunit2> <formatter
type="Plain" output="results.txt" /> <test assemblyname="mvcNunit/bin/debug/mvcNunit.dll" /> </nunit2> </target> Error is : INTERNAL ERROR System.IO.FileNotFoundException: File or
assembly name System.Xml, or one of its dependencies,
was not found. File name: "System.Xml" at NUnit.Core.XmlResultVisitor..ctor(String fileName, TestResult result) at NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask() in
C:\nant\src\NAnt.NUnit\NUnit2\NUnit2Task.cs:line 203 at NAnt.Core.Task.Execute() in
C:\nant\src\NAnt.Core\Task.cs:line 151 at NAnt.Core.Target.Execute() in
C:\nant\src\NAnt.Core\Target.cs:line 217 at NAnt.Core.Project.Execute(String
targetName, Boolean forceDependencies)
in C:\nant\src\NAnt.Core\Project.cs:line 772 at NAnt.Core.Project.Execute() in
C:\nant\src\NAnt.Core\Project.cs:line 734 at NAnt.Core.Project.Run() in
C:\nant\src\NAnt.Core\Project.cs:line 797 Fusion log follows: === Pre-bind state information === LOG: DisplayName = System.Xml, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (Fully-specified) LOG: Appbase = c:\nant\bin\ LOG: Initial PrivatePath = NULL Calling assembly : nunit.framework, Version=2.1.4.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77. === LOG: Publisher policy file is not found. LOG: Host configuration file not found. LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config. LOG: Post-policy reference: System.Xml,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 LOG: Attempting download of new URL
file:///c:/nant/bin/System.Xml.DLL. LOG: Attempting download of new URL
file:///c:/nant/bin/System.Xml/System.Xml.DLL. LOG: Attempting download of new URL
file:///c:/nant/bin/System.Xml.EXE. LOG: Attempting download of new URL
file:///c:/nant/bin/System.Xml/System.Xml.EXE. Please send bug report to
[EMAIL PROTECTED] Total time: 1.2 seconds. |
