How to create a Uno Platform project in Visual Studio 💻🤓

In this post we will see how to create a project with Uno Platform from scratch in Visual Studio. To see the full code, check our GitHub account.

The first thing we will have to check is if we have the extension of Uno added in Visual Studio.

1. Install extension Uno in Visual Studio

First, we have to create our project. Uno will be installed to the corresponding extension in Visual Studio. For this we must: start Visual Studio using “Continue without code”.

At the top we click on Extensions -> Manage Extensions.

We expand the “Online” section, look for Uno Platform and click on download.

Once downloaded, you will have to restart Visual Studio to make sure everything is correct. After that we can start creating our Uno project.

2. Create a new project

We start Visual Studio again but this time through “Create a new Project”.

We look for Uno Platform and select “Cross-Platform App (Uno Platform).

We setup our new project by filling in the following fields and, once finished, click on “Create”. We have already created our new Uno project.

As we can see, we have created a solution with 5 projects inside:

UWP

Android

WASM

iOS

Shared

In the “shared” folder is going to be where we will create the parts that share the rest of the projects. The other 4 projects correspond to each of the platforms where we can deploy our application, these projects will also include the data that are exclusive to each one like you see on the pictures.

Next, we will see how our application looks on different platforms:

UWP:

Android:

iOS:

Wasm:

If you want to see the full code and see the full project, check our GitHub account.

Stay up to date!

Leave this field empty if you're human:

Read More We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Ok Reject