Hi MonoGame Community,
I’ve been trying to package this thing properly, but I don’t think I’m doing it right, or maybe not even approaching it right in the first place.
I’m compiling my game in Visual Studio 2010 using the 3.2.2 packages on NuGet. It outputs an .exe, and this is what the output folder looks like:
I tried using the guide here: http://www.mono-project.com/archived/guiderunning_mono_applications/#bundles that I was linked last time I asked this question, but using mkbundle just gives me this error:
[quote]Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly ‘MonoGame.Frame
work’ or one of its dependencies. The system cannot find the file specified.
File name: ‘MonoGame.Framework’
at System.AppDomain.Load (System.String assemblyString, System.Security.Policy
.Evidence assemblySecurity, Boolean refonly) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string,System.S
ecurity.Policy.Evidence,bool)
at System.Reflection.Assembly.ReflectionOnlyLoad (System.String assemblyString
) [0x00000] in :0
at IKVM.Reflection.Universe.DefaultResolver (System.String refname, Boolean th
rowOnError) [0x00000] in :0
at IKVM.Reflection.Universe.Load (System.String refname, IKVM.Reflection.Modul
e requestingModule, Boolean throwOnError) [0x00000] in :0
at IKVM.Reflection.Universe.Load (System.String refname) [0x00000] in :0
at MakeBundle.QueueAssembly (System.Collections.Generic.List1 files, System.S tring codebase) [0x00000] in <filename unknown>:0 at MakeBundle.Main (System.String[] args) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not lo ad file or assembly 'MonoGame.Framework' or one of its dependencies. The system cannot find the file specified. File name: 'MonoGame.Framework' at System.AppDomain.Load (System.String assemblyString, System.Security.Policy .Evidence assemblySecurity, Boolean refonly) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string,System.S ecurity.Policy.Evidence,bool) at System.Reflection.Assembly.ReflectionOnlyLoad (System.String assemblyString ) [0x00000] in <filename unknown>:0 at IKVM.Reflection.Universe.DefaultResolver (System.String refname, Boolean th rowOnError) [0x00000] in <filename unknown>:0 at IKVM.Reflection.Universe.Load (System.String refname, IKVM.Reflection.Modul e requestingModule, Boolean throwOnError) [0x00000] in <filename unknown>:0 at IKVM.Reflection.Universe.Load (System.String refname) [0x00000] in <filenam e unknown>:0 at MakeBundle.QueueAssembly (System.Collections.Generic.List
1 files, System.S
tring codebase) [0x00000] in :0
at MakeBundle.Main (System.String[] args) [0x00000] in :0[/quote]
I’m not a programmer, so I need someone to give me a really basic, hand-holdy walkthrough of how to make this run on Mac OS, step-by-step if possible.