Reputation: 3671
Getting following error when rebuilding xamarin forms android project.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2): Error XA0000: Could not determine API level for $(TargetFrameworkVersion) of 'v8.1'. (XA0000) (Myproject.Android)
Found the same issue in some other threads. The solution on there is open .csproj file and change AndroidUseLatestPlatformSdk from True to False, and rebuild. I found this solution on here and here.
But I don't know which .csproj file need to modify? Can some one tell it more clearly?
Upvotes: 4
Views: 12326
Reputation: 33
Just go to options and then general
then select appropriate target version
Upvotes: 0
Reputation: 15342
You'll want to edit Myproject.Android.csproj
.
Here's how to edit a csproj
in Visual Studio:
Upvotes: 1