If msbuild outputs the next error:
The reference assemblies for framework "MonoAndroid,Version=v1.0" were not found.
Please add the TargetFrameworkRootPath to your Droid csproj:
<PropertyGroup>
<AndroidSdkDirectory>/home/myuser/my-android-toolchain-sdk-path</AndroidSdkDirectory>
<TargetFrameworkRootPath>/usr/lib/mono/xbuild-frameworks/</TargetFrameworkRootPath>
</PropertyGroup>
Thanks to Nihal Talur for the TargetFrameworkRootPath advice.
Немає коментарів:
Дописати коментар