Hi,

 

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.

 

Rolf

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ravi kiran
Sent: miƩrcoles, 02 de julio de 2008 12:28
To: [email protected]
Subject: [mono-vb] VBNC Error -- Missed option: Int64_Int32

 


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.

 

  _____  

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

_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to