I’m using Visual Studio 2019, Windows 10 and Monogame 126.96.36.199. 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 (v188.8.131.52)
- Monogame.Framework.iOS (v184.108.40.206)
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!!