Microsoft Ignite 2019
Join us at Microsoft Ignite in Orlando, FL to gain hands-on experience with Microsoft developer technologies. Nov. 4-8 2019.

Xamarin Tutorial - Hello World in 10 minutes

Run your app

From the menu, select Debug -> Start Debugging.

Your application will build then deploy to the Android emulator and run.

Android emulator running the Xamarin app. A 'Welcome to Xamarin.Forms!` message is displayed.

Select your startup project

Right-click on the AwesomeApp.iOS project and select Set As Startup Project.

Set the iOS project as the startup project.

Start your app

From the menu, select Debug -> Start Debugging.

Your application will build then deploy to the iOS emulator and run.

iOS emulator running the Xamarin app. A 'Welcome to Xamarin.Forms!` message is displayed.

Optional: Run on Android

If you setup an Android device or emulator, you can also run your app on Android.

  1. Right-click on the AwesomeApp.Android project and select Set As Startup Project.
  2. From the menu, select Debug -> Start Debugging.

Your application will build then deploy to the Android device/emulator and run.

Android emulator running the Xamarin app. A 'Welcome to Xamarin.Forms!` message is displayed.

Congratulations, you've built and run your first .NET mobile app!

Continue