picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.57k stars 325 forks source link

Could not detect platform #29

Closed mojo2012 closed 12 years ago

mojo2012 commented 12 years ago

Hi,

I just checked out Eto and tried the tutorial, but it fails to start up with this error message:

Eto.EtoException: Could not detect platform. Are you missing a platform assembly? at Eto.Generator.get_Detect () [0x00091] in /Users/ash/Projekte/MonoDevelop/Eto/Source/Eto/Generator.cs:88 at Eto.Forms.Application..ctor () [0x00000] in :0 at Tutorial1.MainClass.Main (System.String[] args) [0x00006] in /Users/ash/Projekte/MonoDevelop/Eto/Tutorials/Tutorial1 - Hello World/Main.cs:21

I'm running MacOS X 107.4, Mono 10.9 and MonoDevelop 3.0

cwensley commented 12 years ago

Could you check to ensure that the Eto.Platform.Mac.dll is in the "Tutorial1 - Hello World.app/Contents/Resources" directory?

I think what is happening is the buildapp.sh is copying from /BuildOutput/Release, whereas the project is using the /BuildOutput/Debug assemblies.

You can probably fix this by opening the Eto - MonoDevelop.sln and building the Release build. I'll fix up the script and projects so they use the same assemblies.