Create an app with Rider

Note

Make sure to setup your environment by following our instructions.

Important

As of Rider 2023.1, .NET 8 for mobile targets is not supported. To build and run mobile apps, use .NET 7 in your TargetFrameworks. See this JetBrains article for more details.

Create the App

Creating an Uno Platform project is done using dotnet new and the Uno Platform Live Wizard by following these steps:

  1. Open a browser and navigate to the Live Wizard

  2. Configure your new project by providing a project name, then click Start

    A screen showing how to choose a solution name

  3. Choose a template to build your application

    A screen showing how to choose template for the new app

    Tip

    For a detailed overview of the Uno Platform project wizard and all its options, see the Wizard guide.

  4. Click the Create button on the top right corner, then click the Copy button

    A screen showing the dotnet new command to create the new app

  5. In your terminal, navigate to the folder that will contain your new app.

  6. Create a new project by pasting the command that was previously generated in the Live Wizard.

  7. Open the solution in Rider, you should now have a folder structure that looks like this:

    A screen showing the structure of the solution in Rider

Tip

If you are not able to run the online Live Wizard, you can explore the dotnet new template directly in the CLI.

Debug the App

Set Android as your startup project. Run. run-android-rider

Note

Whether you're using a physical device or the emulator, the app will install but will not automatically open. You will have to manually open it.

Next Steps

Now that you're Created and Debug the App.

Learn more about: