Skip to content
Curtis Wensley edited this page Feb 16, 2018 · 19 revisions

The easiest way to get started with Eto.Forms is to use the Visual Studio or Xamarin Studio addins. These addins provide a way to create new Eto.Forms projects very easily, either using a portable library or shared project for your UI.

Visual Studio 2017.5

Make sure you have installed the latest Visual Studio updates. Then, install the addin by following these steps (or download here):

  1. Open Tools > Extensions and Updates
  2. Select Online > Visual Studio Marketplace
  3. In the search box, type Eto.Forms
  4. Select Eto.Forms Visual Studio Addin and click Download
  5. Restart Visual Studio to install the extension.

Now you can easily create a new project:

  1. Open File > New > Project
  2. Select Visual C#/F# > Eto.Forms > Eto.Forms Application
  3. Enter the name of your new project, and click OK
  4. Select options such as single or separate launcher, code/xaml/json/preview, then click OK

Visual Studio for Mac / MonoDevelop 7.3+

First, install the addin by following these steps:

  1. Download the latest Eto.Addin.MonoDevelop.mpack from here.
  2. Open Tools > Extensions... (Linux/Windows), or Visual Studio > Extensions... (Mac)
  3. Click Install from file...
  4. Select the .mpack file and click Open
  5. Click Install to install the addin
  6. Restart Visual Studio for Mac / MonoDevelop

Now you can easily create a new project:

  1. Open File > New Solution...
  2. Select Multiplatform > App > Eto App and Click Next
  3. Enter the name of your new project, select options such as single or separate launcher, code/xaml/json/preview, then click Next
  4. Uncheck Create a project directory within the solution directory if you want the project(s) to be created directly under the solution file, then click Create

dotnet new

With the dotnet core sdk installed, run the following from the command line:

> dotnet new -i "Eto.Forms.Templates::*"
> dotnet new etoapp --help  # shows project creation options
> dotnet new etoapp -sln -xm -m xaml  # create a project with .sln file, separate Xamarin.Mac project, and xaml definition