3

I'm using MonoDevelop 2.8.5 and I'm trying to compile a moonlight application, but it fails. I created a brand new Moonlight Application Project and tried to compile it, but it fails with the following error.

Error: Framework 'Moonlight / Silverlight 4.0' not installed. (MoonlightTest)

In this question from October 2011 one of the developers of MonoDevelop states that is not possible to do this without some major hassle.

  1. Is this still true with the new version(s) of MonoDevelop out?
  2. If so, how can I compile Moonlight Application Projects in MonoDevelop if I'm willing to go through some hassle?
Community
  • 1
  • 1
vidstige
  • 12,492
  • 9
  • 66
  • 110
  • You have to persuade monodevelop that the moonlight 4 framework is supported and what compilers and framework paths it needs, You need to add a new project type I think. – IanNorton Jan 04 '12 at 20:30
  • hmm. there is a moonlight project type that I can create from the menues, but it does not compile. – vidstige Jan 05 '12 at 10:16
  • 1
    Was about to ask the same question, but added a bounty instead. Background: I've got a silverlight app developed by someone using Windows, and now I've been tasked to fix something in it. I'm on Mac OS X Lion (10.7). – Joel Purra Aug 02 '12 at 21:05
  • nice! hopefully catches some more attention now. Personally I would just love it for those quick prototypes. – vidstige Aug 03 '12 at 08:50
  • Have you tried to build the solution with xbuild? – IanNorton Aug 09 '12 at 08:30
  • @IanNorton no, I havn't. Should produce the same result? – vidstige Aug 09 '12 at 09:14
  • No bounty awarded this time. Too bad, the points are lost =( – Joel Purra Aug 09 '12 at 22:43
  • @JoelPurra you can still award them manually to Mike if you like. – vidstige Aug 10 '12 at 07:07

1 Answers1

0

This is a bit of "psychic debugging" but I've run into it a lot in linux and imagine you might have the same problem happening on OS X. Is the compiler that Monodevelop is looking for exactly the same as the version you installed? It might be something as simple as the folder being called Moonlight1.3 vs Moonlight1.3.1. Look at the build output and see what version it is looking for then look in your applications folder (via terminal the app folder in the finder might hide the info) and check that they are the same.

Mike
  • 418
  • 3
  • 10