[Mono-list] Seeking advice on using monodevelop to learn CSharp
Stephen Liu
satimis at yahoo.com
Wed Apr 14 07:30:03 EDT 2010
Hi folks,
MoMA
Debian 5.0
Problem seems partitially solved.
After adding following line to /etc/apt/sources.list file:
deb http://debian.meebey.net/pkg-mono /
ran;
$ sudo aptitude update
$ sudo aptitude upgrade
several new packages added and some old packages upgraded. Download a new MoMA package on website and extract it.
$ mono /path/to/MoMA.exe
mono migration analyzer starts.
But on Step 2 "Choose the assemblies to analyzer"
no assemblies found.
$ ls /usr/lib/mono/gac/
Accessibility
art-sharp
atk-sharp
Commons.Xml.Relaxng
CustomMarshalers
gconf-sharp
gconf-sharp-peditors
gdk-sharp
glade-sharp
glib-sharp
gnome-sharp
gnome-vfs-sharp
gtk-dotnet
gtk-sharp
gtksourceview-sharp
I18N
I18N.West
ICSharpCode.SharpZipLib
Mono.Addins
Mono.Addins.Gui
Mono.Addins.Setup
Mono.Cairo
Mono.Cecil
Mono.CompilerServices.SymbolWriter
Mono.CSharp
Mono.Data.Sqlite
Mono.Data.SqliteClient
Mono.Data.Tds
monodoc
Mono.GetOptions
Mono.Http
Mono.Management
Mono.Mozilla
Mono.Posix
Mono.Security
mono-service
Mono.Web
Mono.WebBrowser
Mono.WebServer
Mono.WebServer2
OpenSystem.C
pango-sharp
PEAPI
policy.0.2.Mono.Addins
policy.0.2.Mono.Addins.Gui
policy.0.2.Mono.Addins.Setup
policy.2.10.atk-sharp
policy.2.10.gdk-sharp
policy.2.10.glade-sharp
policy.2.10.glib-sharp
policy.2.10.gtk-dotnet
policy.2.10.gtk-sharp
policy.2.10.pango-sharp
policy.2.16.art-sharp
policy.2.16.gconf-sharp
policy.2.16.gconf-sharp-peditors
policy.2.16.gnome-sharp
policy.2.16.gnome-vfs-sharp
policy.2.4.art-sharp
policy.2.4.atk-sharp
policy.2.4.gconf-sharp
policy.2.4.gconf-sharp-peditors
policy.2.4.gdk-sharp
policy.2.4.glade-sharp
policy.2.4.glib-sharp
policy.2.4.gnome-sharp
policy.2.4.gnome-vfs-sharp
policy.2.4.gtk-dotnet
policy.2.4.gtk-sharp
policy.2.4.pango-sharp
policy.2.6.art-sharp
policy.2.6.atk-sharp
policy.2.6.gconf-sharp
policy.2.6.gconf-sharp-peditors
policy.2.6.gdk-sharp
policy.2.6.glade-sharp
policy.2.6.glib-sharp
policy.2.6.gnome-sharp
policy.2.6.gnome-vfs-sharp
policy.2.6.gtk-dotnet
policy.2.6.gtk-sharp
policy.2.6.pango-sharp
policy.2.8.art-sharp
policy.2.8.atk-sharp
policy.2.8.gconf-sharp
policy.2.8.gconf-sharp-peditors
policy.2.8.gdk-sharp
policy.2.8.glade-sharp
policy.2.8.glib-sharp
policy.2.8.gnome-sharp
policy.2.8.gnome-vfs-sharp
policy.2.8.gtk-dotnet
policy.2.8.gtk-sharp
policy.2.8.pango-sharp
System
System.ComponentModel.DataAnnotations
System.Configuration
System.Configuration.Install
System.Core
System.Data
System.Data.DataSetExtensions
System.Data.Linq
System.Design
System.Drawing
System.Drawing.Design
System.EnterpriseServices
System.Management
System.Runtime.Remoting
System.Runtime.Serialization.Formatters.Soap
System.Security
System.ServiceProcess
System.Transactions
System.Web
System.Web.Abstractions
System.Web.DynamicData
System.Web.Extensions
System.Web.Extensions.Design
System.Web.Routing
System.Web.Services
System.Windows.Forms
System.Xml
System.Xml.Linq
xsp
xsp2
- end -
$ ls /usr/lib/mono/gtk-sharp-2.0/
art-sharp.dll policy.2.4.gconf-sharp-peditors.dll
atk-sharp.dll policy.2.4.gdk-sharp.dll
gconf-sharp.dll policy.2.4.glade-sharp.dll
gconf-sharp-peditors.dll policy.2.4.glib-sharp.dll
gdk-sharp.dll policy.2.4.gnome-sharp.dll
glade-sharp.dll policy.2.4.gnome-vfs-sharp.dll
glib-sharp.dll policy.2.4.gtk-dotnet.dll
gnome-sharp.dll policy.2.4.gtk-sharp.dll
gnome-vfs-sharp.dll policy.2.4.pango-sharp.dll
gtk-dotnet.dll policy.2.6.art-sharp.dll
gtk-sharp.dll policy.2.6.atk-sharp.dll
libatksharpglue-2.so policy.2.6.gconf-sharp.dll
libgdksharpglue-2.so policy.2.6.gconf-sharp-peditors.dll
libgladesharpglue-2.so policy.2.6.gdk-sharp.dll
libglibsharpglue-2.so policy.2.6.glade-sharp.dll
libgnomesharpglue-2.so policy.2.6.glib-sharp.dll
libgtksharpglue-2.so policy.2.6.gnome-sharp.dll
libpangosharpglue-2.so policy.2.6.gnome-vfs-sharp.dll
pango-sharp.dll policy.2.6.gtk-dotnet.dll
policy.2.10.atk-sharp.dll policy.2.6.gtk-sharp.dll
policy.2.10.gdk-sharp.dll policy.2.6.pango-sharp.dll
policy.2.10.glade-sharp.dll policy.2.8.art-sharp.dll
policy.2.10.glib-sharp.dll policy.2.8.atk-sharp.dll
policy.2.10.gtk-dotnet.dll policy.2.8.gconf-sharp.dll
policy.2.10.gtk-sharp.dll policy.2.8.gconf-sharp-peditors.dll
policy.2.10.pango-sharp.dll policy.2.8.gdk-sharp.dll
policy.2.16.art-sharp.dll policy.2.8.glade-sharp.dll
policy.2.16.gconf-sharp.dll policy.2.8.glib-sharp.dll
policy.2.16.gconf-sharp-peditors.dll policy.2.8.gnome-sharp.dll
policy.2.16.gnome-sharp.dll policy.2.8.gnome-vfs-sharp.dll
policy.2.16.gnome-vfs-sharp.dll policy.2.8.gtk-dotnet.dll
policy.2.4.art-sharp.dll policy.2.8.gtk-sharp.dll
policy.2.4.atk-sharp.dll policy.2.8.pango-sharp.dll
policy.2.4.gconf-sharp.dll
- end -
Whether adding all .dll to MoMA? TIA
B.R.
SL
----- Original Message ----
From: Adam Tauno Williams <awilliam at whitemice.org>
To: mono-list at lists.ximian.com
Sent: Mon, April 12, 2010 11:26:06 AM
Subject: Re: [Mono-list] Seeking advice on using monodevelop to learn CSharp
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.
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the Mono-list
mailing list