[Mono-winforms-list] Form.InicializeComponent() throwing InvalidCastException
b.mendes00 at gmail.com
Mon Dec 13 11:43:17 EST 2010
I'm pretty sure I deployed it to .NET 3.5 Client and not .NET 4.0 Client,
but I will make a check.
2010/12/13 Stifu <stifu at free.fr>
> It might be this bug: https://bugzilla.novell.com/show_bug.cgi?id=648403
> bmnds wrote:
> > I dunno what may be causing it to happen. I've done a simple application
> > before using winforms and it worked (the Picture Viewer example).
> > I'm attaching the Visual Studio C# project if someone wants to check it.
> > I'm completely blind here, no clue what can cause this... it works
> > on Windows 7.
> > I've used an OpenFileDialog, TabView and some regular containers and
> > controls.
> > Here is the log (the window not even open, so I'm pretty sure it is some
> > of the componentes, TabView maybe?):
> > tesshu at Tesshu:~/Área de Trabalho/Mono .NET$ mono FileServer.exe &
> >  1989
> > tesshu at Tesshu:~/Área de Trabalho/Mono .NET$
> > Unhandled Exception: System.InvalidCastException: Cannot cast from source
> > type to destination type.
> > at FileServer.Form1.InitializeComponent () [0x00000]
> > at FileServer.Form1..ctor () [0x00000]
> > at (wrapper remoting-invoke-with-check) FileServer.Form1:.ctor ()
> > at FileServer.Program.Main () [0x00000]
> > http://mono.1490590.n4.nabble.com/file/n3085664/FileServer.zip
> > FileServer.zip
> View this message in context:
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
9º período em Engenharia da Computação
Escola Superior de Tecnologia
Universidade do Estado do Amazonas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-winforms-list