[Mono-dev] Mono 2.10 preview on Windows

Jeroen Frijters jeroen at sumatra.nl
Thu Jan 20 02:44:30 EST 2011


The app base directory isn't set correctly on Windows when you specify a relative path:

C:\ikvm\tests\regression>mono \ikvm\bin\ikvm.exe
Missing method .ctor in assembly C:\ikvm\tests\regression\ikvm\bin\ikvm.exe, type IKVM.Attributes.HideFromJavaAttribute
Can't find custom attr constructor image: C:\ikvm\tests\regression\ikvm\bin\ikvm.exe mtoken: 0x0a00000d

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'IKVM.Runtime, Version=0.45.4037.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'IKVM.Runtime, Version=0.45.4037.0, Culture=neutral, PublicKeyToken=null'

Using an absolute path works:

C:\ikvm\tests\regression>mono c:\ikvm\bin\ikvm.exe
IKVM.NET Launcher version 0.45.4037.0
Copyright (C) 2002-2011 Jeroen Frijters


More information about the Mono-devel-list mailing list