Hi,

I thought VB.NET is case insensitive. 

If I can compile this same file without capitalization on vbc.exe (Microsoft .NET 
framework on Windows XP) it should be working in the same way on MBas too right?

Akhilesh Agarwal

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremiah McElroy
Sent: 09 सितम्बर 2003 17:34
To: Akhilesh Agarwal; [EMAIL PROTECTED]
Subject: RE: [Mono-list] MBAS fails on simple hello world application

I attempted to compile this on win32 Mono 0.26 and I received similar errors.
 
Then I corrected the capitalization in your code and it worked correctly.
 
The code I compiled follows:
 
Module test
 Sub Main()
  System.Console.WriteLine("Hello World!")
 End Sub
End Module

        -----Original Message----- 
        From: Akhilesh Agarwal [mailto:[EMAIL PROTECTED] 
        Sent: Sat 9/6/2003 3:34 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: [Mono-list] MBAS fails on simple hello world application
        
        

        Hi,
        
        I tried compiling the attached VB.NET file (a simple one line hello world 
application) using Mono 0.26 mbas on Redhat 9. It gives the following error:
        
        Unhandled Exception: System.ArgumentNullException: Argument cannot be null
        Parameter name: null key
        in <0x00076> 00 System.Collections.Hashtable:Find (object)
        in <0x0001b> 00 System.Collections.Hashtable:GetImpl (object)
        in <0x00014> 00 System.Collections.Hashtable:get_Item (object)
        in <0x0004d> 00 Mono.CSharp.TypeManager:LookupType (string)
        in <0x00160> 00 Mono.Languages.Driver:IsSWFApp ()
        in <0x0007c> 00 Mono.Languages.Driver:FixEntryPoint ()
        in <0x0005b> 00 Mono.Languages.Driver:GenerateAssembly ()
        in <0x0005f> 00 Mono.Languages.Driver:CompileAll ()
        in <0x00045> 00 Mono.Languages.Driver:MainDriver (string[])
        in <0x0003d> 00 Mono.Languages.Driver:Main (string[])
        
        I can compile this file without any problem using Microsoft .NET vbc.exe on 
Windows XP.
        
        Should I file a bug, or I am doing something wrong? Can anyone try compiling 
test.vb which is attached and see if they get any errors?
        
        Akhilesh Agarwal
        
        

2++2++h+oj)j˝+

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to