[mono-vb] VBNC Error -- Missed option: Int64_Int32

Rolf Bjarne Kvinge rolflists at ya.com
Mon Jul 7 09:18:18 EDT 2008



This is a bug in the compiler which makes the compiler crash.


To fix it I need to see the code which makes the compiler crash, either your entire project, or, if you can't send it to me, a small code sample which reproduces the crash.





From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of ravi kiran
Sent: miércoles, 02 de julio de 2008 12:28
To: mono-vb at lists.ximian.com
Subject: [mono-vb] VBNC Error -- Missed option: Int64_Int32


    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 
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 
  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 
  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 
  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: 

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. 
B. Ravi Kiran.



Bring your gang together. Do your thing. Find <http://in.rd.yahoo.com/tagline_groups_9/*http:/in.promos.yahoo.com/groups/>  your favourite Yahoo! Group. 

No virus found in this incoming message.
Checked by AVG.
Version: 8.0.136 / Virus Database: 270.4.5/1537 - Release Date: 06/07/2008 5:26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080707/c957e494/attachment-0001.html 

More information about the Mono-vb mailing list