Skip to content

Commit

Permalink
Add readme for tutorials to explain how to build & run the tutorials
Browse files Browse the repository at this point in the history
Fix references for tutorials
Fixes #29 & #30
  • Loading branch information
cwensley committed May 22, 2012
1 parent 7a751f3 commit 52ff47c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions Tutorials/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Eto.Forms Tutorials
===================

How to Build
------------

Before building the tutorials, load the Eto - MonoDevelop.sln or Eto - VisualStudio.sln solution and compile for Release mode.

These tutorials use a script to copy the required platform dependencies:
- buildapp.sh is used for MonoDevelop
- buildapp.cmd is used for Visual Studio


How to Run
----------

You can run from the IDE, though on OS X an .app bundle is created in the output
directory that you must run separately, otherwise it will run the GTK platform on OS X.

To run the MonoMac platform directly in MonoDevelop for OS X, you must create a MonoMac
project separate from your GUI executable project. See the Eto.Test.Mac application
as an example of how this looks.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="Eto">
<HintPath>..\Eto\Release\Eto.dll</HintPath>
<HintPath>..\..\BuildOutput\Release\Eto.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Tutorials/Tutorials.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tutorial1 - Hello World", "Tutorial1 - Hello World\Tutorial1 - Hello World.csproj", "{7BE9E187-3FC4-49D2-A322-F4651C3AE256}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tutorial1 - Hello World", "Tutorial1\Tutorial1 - Hello World.csproj", "{7BE9E187-3FC4-49D2-A322-F4651C3AE256}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tutorial2 - Menus and Toolbars", "Tutorial2\Tutorial2 - Menus and Toolbars.csproj", "{0844A0AD-778A-4DB3-8332-03AC50A17D05}"
EndProject
Expand Down

0 comments on commit 52ff47c

Please sign in to comment.