[Mono-list] Program start shows MS-DOS header error message

Piotr Wysocki piotr.wysocki at secpl.cs.put.poznan.pl
Thu Sep 9 08:41:12 EDT 2010


On 09/09/2010 11:34 AM, Andrew K. wrote:
> I spent the last days on getting our application to run with mono.
> I'm developing on a Windows XP SP3 system with Visual Studio 10 and .NET
> 3.5.
> For the local tests I installed mono-2.6.7. Additionally I installed Cygwin
> and installed there the current trunk version from SVN and compiled it with
> the "profile4=yes" flag.
>
> If I try the mono.exe from within "Mono-2.6.7\bin" in my program files
> directory following output appears if I use the --security flag (full call:
> "mono --security byzz.exe"):
>
> The assembly mscorlib.dll was not found or could not be loaded.

Seems like you don't have enviroment properly set up.
Are you calling from "Mono Console"?
Start->Programs->Mono 2.6.7->Mono 2.6.7 Command Prompt
or something like that.
After that you need not be calling mono from it's directory.

Cheers

-- 
Piotr Wysocki
Mobile Systems Research Labs, Poznan University of Technology


More information about the Mono-list mailing list