[Mono-osx] Can't compile any VB.NET code

Geoff Norton gnorton at novell.com
Wed Mar 5 20:52:43 EST 2008


This is fixed in 1.9

-g

On 5-Mar-08, at 8:38 PM, Hess, Philip J wrote:

> Even the dummy code from the simple VB console app won't compile:
>
> Public Class application
>         Public Shared Sub Main()
>                 System.Console.WriteLine("Hello world!")
>         End Sub
> End Class
>
> See complete build output below.
>
> I found a similar error report elsewhere:
>
> http://lists.ximian.com/pipermail/mono-vb/2008-February.txt
>
> But I couldn't find any resolution of that reported problem.
>
> I can compile CS console apps, just not VB.NET apps.
>
> Any idea what's wrong with Mono?
>
> PowerPC, OS X 10.4.11, Mono 1.2.6_6 - installed without any problems.
>
> Thanks.
>
> -Phil
>
>
>
> Building Project: vbconsole_test (Debug)
> Performing main compilation...
> vbnc -out:"/Users/philhess/Development/Mono/vbconsole_test/bin/Debug/ 
> vbconsole_test.exe" -nologo -utf8output -target:exe  "/Users/ 
> philhess/Development/Mono/vbconsole_test/application.vb"
>
> ** (/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/ 
> vbnc.exe:878): WARNING **: The class Mono.WebBrowser.DOM.IDocument  
> could not be loaded, used in Mono.Mozilla, Version=0.2.0.0,  
> Culture=neutral, PublicKeyToken=0738eb9f132ed756
>
> ** (/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/ 
> vbnc.exe:878): WARNING **: The class Mono.WebBrowser.DOM.IElement  
> could not be loaded, used in Mono.Mozilla, Version=0.2.0.0,  
> Culture=neutral, PublicKeyToken=0738eb9f132ed756
>
> ** (/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/ 
> vbnc.exe:878): WARNING **: The class Mono.WebBrowser.DOM.IWindow  
> could not be loaded, used in Mono.Mozilla, Version=0.2.0.0,  
> Culture=neutral, PublicKeyToken=0738eb9f132ed756
> Error : VBNC99999: Unexpected error: The classes in the module  
> cannot be loaded.
>   at <0x00000> <unknown method>
>   at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes  
> (bool)
>   at System.Reflection.Assembly.GetTypes () [0x00000] in /private/ 
> tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/corlib/ 
> System.Reflection/Assembly.cs:326
>   at vbnc.TypeManager.LoadReferencedTypes () [0x00000]
>   at vbnc.TypeManager.LoadReferenced () [0x00000]
>   at vbnc.Compiler.Compile () [0x00000]
> Compilation took 00:00:04.6190320
>
> Build complete -- 0 errors, 0 warnings
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080305/45ed9156/attachment.html 


More information about the Mono-osx mailing list