I'm using Visual Studio 2019, Windows 10 and Monogame 220.127.116.11. 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 (v18.104.22.168)
- Monogame.Framework.iOS (v22.214.171.124)
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!!