Hello! I have developed a simple test app using Mono/GTK# on a Ubuntu Linux 11.4 box. Then I copied source files to a Win7 box, downloaded GTK# for .NET and loaded the project on VS.NET 2005.
Everything ok to this point, the project just build ok without warnings or errors. But when running it, the following error message appears (it seems can't load glibsharpglue-2 DLL - although I've copied it to Win32): "No se controló System.TypeInitializationException Message="Se produjo una excepción en el inicializador de tipo de 'Gtk.Application'." Source="gtk-sharp" TypeName="Gtk.Application" StackTrace: en Gtk.Application.Init() en PEC2.MainClass.Main(String[] args) en C:\PRUEBA_MONO\PEC2\PEC2\Main.cs:línea 10 en System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) en System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) en Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() en System.Threading.ThreadHelper.ThreadStart_Context(Object state) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Threading.ThreadHelper.ThreadStart()" InnerException shows: {"No se puede cargar el archivo DLL 'glibsharpglue-2': No se puede encontrar el módulo especificado. (Excepción de HRESULT: 0x8007007E)"} I'll appreciate any help no this issue. Thanks! -- View this message in context: http://mono.1490590.n4.nabble.com/Gtk-sample-app-built-on-Ubuntu-11-4-rebuilt-on-Win7-fails-to-run-tp3509167p3509167.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list