I'm using Visual Studio 2019, Windows 10 and Monogame 22.214.171.124. I would like to get familiar with creating mobile game iOS- & Android-Apps with Xamarin, so I downloaded this Monogame-example: https://developer.xamarin.com/samples/mobile/ModelRenderingMG/
This example works fine with my installation (it runs in the android emulator without problems). Then I tried to create a new own project: Visual Studio 2019 -> Create new Project -> Mobile App (Xamarin.Forms)
Then I added the following packages via NuGet:
- Monogame.Framework.Android (v126.96.36.199)
- Monogame.Framework.iOS (v188.8.131.52)
In App.xaml.cs I added the following code:
Now the following error occurs: CS0234 - Type or Namespace "XNA" wasn't found in Namespace "Microsoft"
Anyone has an idea what is wrong?
Thank you very much in advance!!