Hi, 
    We have a requirement to run the VB.net winforms (.NET Framework 2.0) in 
Linux. So I have downloaded Mono 1.9.1 on Windows. The plan is to compile the 
winform application into a Mono Executable and run on Linux. This worked with 
C# applications. 

The vbnc version shows... 
" 
Visual Basic.Net Compiler version 0.0.0.5851 
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved." 

I have compiled the vb.net applications using the command line options and got 
this exception: 

"Missed option: Int64_Int32 
Error : VBNC99999: Unexpected error: There has been an internal error in the 
com 
piler: 
  at vbnc.Helper.Stop (System.String Message) [0x00000] 
  at vbnc.Emitter.EmitConversion (System.Type FromType, System.Type ToType, 
vbnc 
..EmitInfo Info) [0x00000] 
  at vbnc.ArrayCreationExpression.EmitArrayCreation (vbnc.ParsedObject Parent, 
v 
bnc.EmitInfo Info, System.Type ArrayType, vbnc.ArraySizeInitializationModifier 
a 
sim) [0x00000] 
  at vbnc.ArrayCreationExpression.GenerateCodeInternal (vbnc.EmitInfo Info) 
[0x0 
0000] 
  at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.NewExpression.GenerateCodeInternal (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.VariableInitializer.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.VariableDeclaration.EmitVariableInitializer (vbnc.EmitInfo Info) 
[0x00 
000] 
  at vbnc.VariableDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.IfStatement.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.CodeBlock.GenerateCode (IMethod Method) [0x00000] 
  at vbnc.MethodBaseDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.MethodDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.SubDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] 
  at vbnc.Helper.GenerateCodeCollection (IEnumerable Collection, vbnc.EmitInfo 
I 
nfo) [0x00000] 
  at vbnc.BaseObjects`1[vbnc.IMember].GenerateCode (vbnc.EmitInfo Info) 
[0x00000 
] 
  at vbnc.AssemblyDeclaration.Emit (vbnc.TypeDeclaration Type) [0x00000] 
  at vbnc.AssemblyDeclaration.Emit () [0x00000] 
  at vbnc.Compiler.Compile () [0x00000] 
Compilation took 00:00:04.6880000"
  
 The reference to the eror for the same is shown in the following link: 
http://lists.ximian.com/archives/public/mono-patches/2007-February/087644.html

I could not able to understand this error. Please help me to fix this error.. 

Are there any problem with the compilation i have done? Can you please guide me 
the exact compilation options? What is the version of the Mono that supports 
vb.net?

Thanks in advance. 
Regards, 
B. Ravi Kiran.


      Did you know? You can CHAT without downloading messenger. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php/ 
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to