[Mono-osx] Can't compile any VB.NET code
Hess, Philip J
pjhess at purdue.edu
Wed Mar 5 20:38:04 EST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080305/4123e4f9/attachment.html
More information about the Mono-osx
mailing list