Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Project not referencing MonoAndroid Framework versions - Source Control

$
0
0

Hey,

So I'm running into a bit of an issue with my Xamarin project breaking a bigger solution with multiple developers on source control and I'm really not sure what's happening.

The application runs fine on my machine with Android 8.0, but my co-worker gets the following error:

Your project is not referencing the "MonoAndroid,Version=v8.0" framework. Add a reference to "MonoAndroid,Version=v8.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.

We can resolve this on his machine by setting the Target Framework to Android 7.1, but then I get the following error

Your project is not referencing the "MonoAndroid,Version=v7.1" framework. Add a reference to "MonoAndroid,Version=v7.1" in the "frameworks" section of your project.json, and then re-run NuGet restore.

We're running from a single source control repository, so the issue has to be with our individual machines, but we both have the Android 7.1 and Android 8.0 platforms installed from the Android SDK Manager and I'm not sure what we might be missing for our machines to be referencing different MonoAndroid versions.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>