[MonoDevelop] MonoDevelop + Moonlight - again

Jake Moe jakesaddress at gmail.com
Fri Feb 4 01:36:18 EST 2011


I've just upgraded my MonoDevelop to v2.4.2, and around the same time
Mono upgraded to v2.8.  Now, when I try to compile a new Moonlight app,
I get:

Error 1: respack failed:
Unhandled Exception: System.ArgumentException: Path is empty
  at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous,
FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <filename
unknown>:0
  at ResourcePacker.Compress (System.Collections.Generic.List`1 files)
[0x00000] in <filename unknown>:0
  at ResourcePacker.Main (System.String[] args) [0x00000] in <filename
unknown>:0
 (1) (SLTest)

I've found that error online, but I haven't been able to find any steps
that tell what to do about it, other than try to build again.  When I do
that, I get:

Error: The compiler appears to have crashed. Check the build output pad
for details. (SLTest)

and the Build Output pad says:

Building: SLTest (Debug)

Building Solution SLTest

Building: SLTest (Debug)

Performing main compilation...
/usr/lib/moonlight/2.0/smcs /noconfig
"/out:/home/jmoe/Projects/SLTest/bin/Debug/SLTest.dll"
"/r:/usr/lib/moonlight/2.0/System.Windows.dll"
"/r:/usr/lib/moonlight/2.0/mscorlib.dll"
"/r:/usr/lib/moonlight/2.0/System.dll"
"/r:/usr/lib/moonlight/2.0/System.Core.dll"
"/r:/usr/lib/moonlight/2.0/System.Xml.dll"
"/r:/usr/lib/moonlight/2.0/System.Net.dll"
"/r:/usr/lib/moonlight/2.0/System.Windows.Browser.dll" /nologo /warn:4
/debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG" 
/t:library "/home/jmoe/Projects/SLTest/App.xaml.cs"
"/home/jmoe/Projects/SLTest/Page.xaml.cs"
"/home/jmoe/Projects/SLTest/obj/Debug/App.xaml.g.cs"
"/home/jmoe/Projects/SLTest/obj/Debug/Page.xaml.g.cs"
"/res:/home/jmoe/Projects/SLTest/obj/Debug/SLTest.g.resources,SLTest.g.resources"


Corlib too old for this runtime.
Loaded from: /usr/lib/moonlight/2.0/mscorlib.dll


Corlib too old for this runtime.
Loaded from: /usr/lib/moonlight/2.0/mscorlib.dll
Build complete -- 1 error, 0 warnings

---------------------- Done ----------------------

Build: 1 error, 0 warnings

So I'm guessing that with the upgrade to MonoDevelop and/or Mono, I need
a new Moonlight SDK?  If so, where can I get that from?  I had
previously gotten it from the Mac binary download for MonoDevelop, so I
tried that with the newest Mac download, but that appears to be the same
version of Moonlight packaged in.  Is there anywhere else I can get it
from to allow MonoDevelop to build Moonlight apps?

Jake Moe


More information about the Monodevelop-list mailing list