[Mono-list] Seeking advice on using monodevelop to learn CSharp

Adam Tauno Williams awilliam at whitemice.org
Mon Apr 12 14:26:06 EDT 2010


On Mon, 2010-04-12 at 09:28 -0700, Stephen Liu wrote:
> Hi Stifu,
> I think the problem is on mono.  I can't even start MoMA
> $ mono Desktop/MoMA/MoMA.exe --debug
> 
> ** (Desktop/MoMA/MoMA.exe:3768): WARNING **: The following assembly referenced from /home/satimis/Desktop/MoMA/MoMA.exe could not be loaded:
>      Assembly:   MoMA.Analyzer    (assemblyref_index=4)
>      Version:    2.0.0.0
>      Public Key: (none)
> 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/satimis/Desktop/MoMA/).

Why not actually install MoMa?  Are MoMa's assemblies in the directory
with MoMa?

MoMa consists of MoMA.Analyzer.dll, Mono.Cecil.dll, and MoMA.exe.  If
the assemblies can't be found then the EXE won't work [of course].  The
message "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" ***exactly*** describes your problem.

Things work better if you just slow down a bit and contemplate the error
messages.

> ** (Desktop/MoMA/MoMA.exe:3768): WARNING **: Could not load file or assembly 'MoMA.Analyzer, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
> Unhandled Exception: System.TypeLoadException: A type load exception has occurred.




More information about the Mono-list mailing list