[Mono-list] MBAS fails on simple hello world application
Akhilesh Agarwal
akhilesh_agarwal@msn.com
Tue, 9 Sep 2003 18:56:46 +0530
Hi,
I thought VB.NET is case insensitive.=20
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: mono-list-admin@lists.ximian.com =
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Jeremiah McElroy
Sent: 09 =E0=A4=B8=E0=A4=BF=E0=A4=A4=E0=A4=AE=E0=A5=8D=E0=A4=AC=E0=A4=B0 =
2003 17:34
To: Akhilesh Agarwal; mono-list@lists.ximian.com
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.
=20
Then I corrected the capitalization in your code and it worked =
correctly.
=20
The code I compiled follows:
=20
Module test
Sub Main()
System.Console.WriteLine("Hello World!")
End Sub
End Module
-----Original Message-----=20
From: Akhilesh Agarwal [mailto:akhilesh_agarwal@msn.com]=20
Sent: Sat 9/6/2003 3:34 PM=20
To: mono-list@lists.ximian.com=20
Cc:=20
Subject: [Mono-list] MBAS fails on simple hello world application
=09
=09
Hi,
=09
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:
=09
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[])
=09
I can compile this file without any problem using Microsoft .NET =
vbc.exe on Windows XP.
=09
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?
=09
Akhilesh Agarwal
=09
=09
2++2++=18h+=18oj)j=7F=CB=9D+