--- "Chris J. Breisch" <[EMAIL PROTECTED]> wrote: > Yep, that fixed it. Thanks. I had to modify the .build file for > M.VB.dll to copy System.dll into the Test directory too. Now my tests > run fine. It's very odd though. I have 20 tests, and 19 of them ran > successfully without that. Only this one using Regex failed.
Perhaps only that one test used anything from System.dll. NickD will probably be able to advise you on the best way to set up your test suite. Is there a particular reason why you want to test Mono's M.VB.dll together with Mono's System.dll on Windows, instead of using Microsoft's System.dll? Unless you are seeing a difference in behaviour running the tests under the full Mono runtime compared to under MS.NET, perhaps it would be best just linking against Mono's M.VB.dll to help isolate the problems the tests look for. Dan. eg: only copy Mono's Microsoft.VisualBasic.dll into the test directory, then: csc /noconfig /r:.\Microsoft.VisualBasic.dll /r:System.dll test.cs ./test.exe This should grab M.VB.dll from the current directory, and then picks up corlib.dll and System.dll from the GAC. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
