Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not detect platform #29

Closed
mojo2012 opened this issue May 21, 2012 · 1 comment
Closed

Could not detect platform #29

mojo2012 opened this issue May 21, 2012 · 1 comment
Labels

Comments

@mojo2012
Copy link
Contributor

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants