-
-
Notifications
You must be signed in to change notification settings - Fork 334
Creating a project manually
This shows how you can create a new project manually.
-
Create a new console application in Visual Studio or MonoDevelop.
Note: Creating a console application is recommended as it'll add the least amount of extraneous dependencies that you do not need.
-
Change the project type to Executable with GUI
- Right click on the project, select Options
- Go to Build > General
- Change Compile Target to "Executable with GUI"
- Right click on the project, select Properties
- In the Application pane, set Output Type to "Windows Application"
-
Add the Eto.Forms nuget package to your project
Note: Remove any references to other GUI frameworks, e.g. System.Windows.Forms or System.Drawing.
-
Add one or more of the platform nuget packages:
These will allow your application to run using the native toolkits. Note that you should only add a single Mac package.
Using a library to house all of your UI code is recommended, so you can separate platform-specific code from your UI.
-
Create a new library in Visual Studio or MonoDevelop
-
Add the Eto.Forms nuget package to your project
-
Reference your UI library from each of your application projects
Next Steps: Tutorial 1 Hello Eto.Forms