[Mono-list] Newb at Mono

scarypajamas henry3writes at aol.com
Sun Jan 24 16:45:23 EST 2010


This is my first time trying out mono and I'm running into some problems. 
I'm developing on Windows Vista 64bit if it makes any difference.

OK, so I clicked the "Mono for Windows, Gtk#, and XSP" under the
downloads->window link and installed mono to my C:\ drive using all the
default options.

Then, I attempted to run one of the mono applications from the
Mono-2.6.1->samples->gtk-sharp-2.0 folder but, unfortunately, none of the
samples work.

When I start any of the applications, for example "menu.exe," I get a run
time error box.

The caption says: "menu.exe - Command Language Runtime Debugging Services"
The message says: "Application has generated an exception that could not be
handled."  Then it gives me my process and thread id.

I tried running the application from the command line and got a more verbose
error message:

C:\Mono-2.6.1\samples\gtk-sharp-2.0>menu

Unhandled Exception: System.IO.FileNotFoundException: File or assembly name
gtk-
sharp, or one of its dependencies, was not found.
File name: "gtk-sharp"
   at GtkSharp.Samples.MenuApp.Main(String[] args)

=== Pre-bind state information ===
LOG: DisplayName = gtk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=
35e10195dab3c99f
 (Fully-specified)
LOG: Appbase = C:\Mono-2.6.1\samples\gtk-sharp-2.0\
LOG: Initial PrivatePath = NULL
Calling assembly : menu, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null.
===

LOG: Application configuration file does not exist.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework\v1
.1.4322\config\machine.config.
LOG: Post-policy reference: gtk-sharp, Version=2.12.0.0, Culture=neutral,
Public
KeyToken=35e10195dab3c99f
LOG: Attempting download of new URL
file:///C:/Mono-2.6.1/samples/gtk-sharp-2.0/
gtk-sharp.DLL.
LOG: Attempting download of new URL
file:///C:/Mono-2.6.1/samples/gtk-sharp-2.0/
gtk-sharp/gtk-sharp.DLL.
LOG: Attempting download of new URL
file:///C:/Mono-2.6.1/samples/gtk-sharp-2.0/
gtk-sharp.EXE.
LOG: Attempting download of new URL
file:///C:/Mono-2.6.1/samples/gtk-sharp-2.0/
gtk-sharp/gtk-sharp.EXE.


C:\Mono-2.6.1\samples\gtk-sharp-2.0>

I'm running a clean install of mono with all default settings.  Does anyone
have any idea why it isn't working for me?
-- 
View this message in context: http://old.nabble.com/Newb-at-Mono-tp27299439p27299439.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list