[Mono-osx] Compiling a ScriptSharp project with Mono 2.01 on Mac OSX
abhinav.v
abhi at nextmedium.com
Wed Dec 10 12:30:45 EST 2008
All
I am trying to compile a script sharp project using gmcs on Mac OSX. Since
scriptsharp has a replacement for mscorlib.dll, I use the nostdlib flag to
compile the project but I run into the following issue.
More info on scriptsharp available
http://projects.nikhilk.net/ScriptSharp/Default.aspx here
Any thoughts?
Abhi
Unhandled Exception: System.TypeLoadException: Could not load type
'System.Object' from assembly 'sscorlib, Version=0.5.1.0, Culture=neutral,
PublicKeyToken=8fc0e3af5abcb6c4'.
at (wrapper managed-to-native) System.MonoType:GetMethodsByName
(string,System.Reflection.BindingFlags,bool,System.Type)
at System.MonoType.GetMethods (BindingFlags bindingAttr) [0x00000]
at Mono.CSharp.MemberCache.AddMethods (BindingFlags bf, System.Type type)
[0x00000]
at Mono.CSharp.MemberCache.AddMethods (System.Type type) [0x00000]
at Mono.CSharp.MemberCache..ctor (IMemberContainer container) [0x00000]
at Mono.CSharp.TypeHandle..ctor (System.Type type) [0x00000]
at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type t) [0x00000]
at Mono.CSharp.TypeHandle.GetMemberCache (System.Type t) [0x00000]
at Mono.CSharp.TypeManager.LookupMemberCache (System.Type t) [0x00000]
at Mono.CSharp.MemberCache..ctor (System.Type baseType, IMemberContainer
container) [0x00000]
at Mono.CSharp.TypeContainer.DoDefineMembers () [0x00000]
at Mono.CSharp.Class.DoDefineMembers () [0x00000]
at Mono.CSharp.TypeContainer.DefineMembers () [0x00000]
at Mono.CSharp.RootContext.PopulateTypes () [0x00000]
at Mono.CSharp.Driver.Compile () [0x00000]
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
make[1]: *** [bin/FrameworkScripts.dll] Error 1
--
View this message in context: http://www.nabble.com/Compiling-a-ScriptSharp-project-with-Mono-2.01-on-Mac-OSX-tp20940019p20940019.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list