Mono

1. Mono

Rafael
r-ponte

(usa Slackware)

Enviado em 16/08/2014 - 16:39h

Boa tarde!
Uso Slackware 13.27 sou novato no sistema, instalei o mono2 o monodevelop a libgdplus, consigo executar uma aplicacao console com: mono2 "aplicacao.exe", porem quando executo uma aplicacao que exige windows forms da a seguinte mensagem:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
at ControleDeEstoque.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
at ControleDeEstoque.Program.Main () [0x00000] in <filename unknown>:0

Desde ja agradeco a todos!


  


2. Re: Mono

Thiago Henrique Hüpner
Thihup

(usa Manjaro Linux)

Enviado em 16/08/2014 - 16:58h

Cara

Instale o Wine e depois o Mono (o mono do windows) e depois tente abrir

Pode dar certo,e + uma coisa , vc sabe programar em C# (ou nesse caso,o mono)?

T+


3. Re: Mono

Rafael
r-ponte

(usa Slackware)

Enviado em 16/08/2014 - 17:42h

Thihup escreveu:

Cara

Instale o Wine e depois o Mono (o mono do windows) e depois tente abrir

Pode dar certo,e + uma coisa , vc sabe programar em C# (ou nesse caso,o mono)?

T+



Instalei o Wine ele nao pega, como assim mono do windows?







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts