NUnit on Windows XP problem
"Andrew Revvo" <[email protected]>
| Newsgroups | gmane.comp.gnu.dotgnu.developer |
|---|---|
| Message-ID | <004901c4a435$276ea0c0$0a01a8c0@server> |
Hi!
I cannot use nunit with PNET 0.6.8 on Windows XP
Please help.
Steps, what I did:
1. Create test.cs file
2. Test it with Microsoft Net Framework 1.1 and NUnit 2.2
All work fine.
3. Compile the test with pnet:
cscc.exe -o test.dll -O3 -lnunit.framework -winforms -shared test.cs
4. Execute PNET command line console
5. Enter: ilrun nunit-console-pnet.exe test.dll
I get this message:
nunit-console-pnet.exe: No such file or directory
Ok...enter the full path:
ilrun "%pnet%\bin\nunit-console-pnet.exe" test.dll
I get the message about NUnit 2.1.91 and the error:
Assembly not found: test
п·п╨...enter the full path:
ilrun "%pnet%\bin\nunit-console-pnet.exe" c:\pnet\test.dll
I get the error message again.
What is wrong?
The test.cs file:
---
using System;
using NUnit.Framework;
namespace ClassesTests
{
[TestFixture]
public class MainTests
{
[Test]
public void Test1()
{
Assert.AreEqual(false, true, "Fail");
}
}
}
---
Thank you,
Andrew Revvo