[Mono-list] Error while trying to start a exe

Chris Howie cdhowie at gmail.com
Mon Feb 23 03:49:30 EST 2009


On Sun, Feb 22, 2009 at 6:03 PM, Don't Know <s-a-s-u-k-e at hotmail.de> wrote:
> Hello,
>
> here is my problem:
>
> /home/rse/server/FamilyNetwork$ mono ChatServer.exe
>
> ** (ChatServer.exe:11828): WARNING **: The following assembly referenced
> from /home/rse/server/FamilyNetwork/ChatServer.exe could not be loaded:
>     Assembly:   System    (assemblyref_index=1)
>     Version:    2.0.0.0
>     Public Key: b77a5c561934e089
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> assembly (/home/rse/server/FamilyNetwork/).
> ** (ChatServer.exe:11828): WARNING **: Could not load file or assembly
> 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> or one of its dependencies.
> Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
> assembly 'System, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' or one of its dependencies.
> File name: 'System, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089'
>
>
> The programm is written in c#. The system of the server is debian.
>
> in this programm there is used a StreamReader. That's the only thing i can
> say to this "IO-Story" in the errormessage.

By the looks of it, you have the 1.0 framework assemblies installed
but not the 2.0 framework assemblies.  Try installing the
libmono-system2.0-cil package.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list