Quick Start
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.
Make sure you have installed the latest Visual Studio updates. Then, install the addin by following these steps (or download here):
- Open Tools > Extensions and Updates
- Select Online > Visual Studio Marketplace
- In the search box, type
Eto.Forms
- Select Eto.Forms Visual Studio Addin and click Download
- Restart Visual Studio to install the extension.
Now you can easily create a new project:
- Open File > New > Project
- Select Visual C#/F# > Eto.Forms > Eto.Forms Application
- Enter the name of your new project, and click OK
- Select options such as single or separate launcher, code/xaml/json/preview, then click OK
First, install the addin by following these steps:
- Download the latest
Eto.Addin.MonoDevelop.mpack
from here. - Open Tools > Extensions... (Linux/Windows), or Visual Studio > Extensions... (Mac)
- Click Install from file...
- Select the .mpack file and click Open
- Click Install to install the addin
- Restart Visual Studio for Mac / MonoDevelop
Now you can easily create a new project:
- Open File > New Solution...
- Select Multiplatform > App > Eto App and Click Next
- Enter the name of your new project, select options such as single or separate launcher, code/xaml/json/preview, then click Next
- 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
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