Package: nunit-console
Version: 2.2.6-1
Severity: important

Running
nunit-console CSharpTest.dll 
where 

/usr/share/doc/nunit/examples/csharp/simple/CSharpTest.cs 

has been compiled using mono command

 mcs  -target:library -out:CSharpTest.dll CSharpTest.cs  -r:nunit.framework.dll 
-lib:/usr/lib/nunit 

throws unhandled exception 

System.DllNotFoundException: shlwapi.dll

Test output:

NUnit version 2.2.6
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, 
Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.

OS Version: Unix 2.6.14.2    Mono Version: 1.1.4322.2032

Unhandled Exception:
System.DllNotFoundException: shlwapi.dll
in (wrapper managed-to-native) NUnit.Util.PathUtils:PathCanonicalize 
(System.Text.StringBuilder,string)
in <0x0003f> NUnit.Util.PathUtils:Canonicalize (System.String path)
in <0x00027> NUnit.Util.PathUtils:RelativePath (System.String from, 
System.String to)
in <0x0011e> NUnit.Util.ProjectConfig:get_PrivateBinPath ()
in <0x0008f> NUnit.Util.TestDomain:Load (NUnit.Util.NUnitProject project, 
System.String testName)


The same approach works fine using  NUnit version 2.2.0
OS Version: Unix 2.6.15.5    Mono Version: 1.1.4322.2032
on a Linux legolas 2.6.15-rc5-m30g i686 GNU/Linux
so I belive this is either a amd64 port problem, or a problem in newer 
NUnit version

A find on the same i686 GNU/Linux system could not discover any 
shlwapi.dll DLL, which makes me question that this DLL is maybe not 
needed anyhow ??

cheers, Marc Cromme

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nunit-console depends on:
ii  libnunit-cil                  2.2.6-1    Unit test framework for .NET
ii  mono-classlib-1.0             1.1.13.1-1 Mono class library (1.0)
ii  mono-jit                      1.1.13.1-1 fast CLI JIT/AOT compiler for Mono

nunit-console recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to