[nem-en] NemerleUnit works only from NAnt?
Kamil Dworakowski
kamil.dworakowski at googlemail.com
Fri Dec 1 21:40:09 CET 2006
I have decided to follow the path a user who would download the
NemerleUnit.dll would take. However, I have failed to compile a simple
file with tests.
But I was running the tests for the whole week! This is unbelievable.
The thing is that I was always using NAnt to build them. If I make a
target in the build file to build my one simple file with tests, it does.
The other thing is that I get different errors whether I use -m or -r
option to reference NemerleUnit.dll.
>ncc -r nunit.framework.dll -t library -o test.dll example.n -m
NemerleUnit.dll
example.n:8:5:10:1: ←[01;31merror←[0m: expected `;'
example.n:8:5:10:1: ←[01;31merror←[0m: parse error near `{...}' group:
unexpected token after expres
sion in sequence
>ncc -r nunit.framework.dll -t library -o test.dll example.n -r
NemerleUnit.dll
←[01;31merror←[0m: internal compiler error: got some unknown exception
of type System.TypeLoadExcept
ion: Die Methode Run im Typ NemerleUnit.assertMacro der Assembly
NemerleUnit, Version=0.0.0.0, Cultu
re=neutral, PublicKeyToken=null hat keine Implementierung.
bei System.Reflection.Assembly.GetExportedTypes()
bei
Nemerle.Compiler.LibraryReferenceManager.LoadTypesFrom(LibraryReference lib)
bei Nemerle.Compiler.LibraryReference.LoadContents()
bei Nemerle.Compiler.LibraryReferenceManager.LoadLibrariesContents()
bei Nemerle.Compiler.ManagerClass.LoadExternalLibraries()
bei Nemerle.Compiler.ManagerClass.Run()
bei Nemerle.CommandlineCompiler.MainClass.main_with_catching()
Does anyone have any idea what is the reason?
Kamil Dworakowski
More information about the devel-en
mailing list