xamarin-android-linux build #1475 (Dec 6, 2018)
Debian 10
Mono JIT compiler version 5.18.0.225
Microsoft (R) Build Engine version 16.0.0.0 for Mono
NuGet Version: 4.7.0.5148
.NET Command Line Tools (2.1.502)
VSCode 1.30.1
C# extension 1.17.1
nuget issue:
The reference assemblies for framework "MonoAndroid,Version=v1.0" were not found.
solution: as usually, add TargetFrameworkRootPath to the csproj file (or add the symbolic link to the MonoAndroid folder into /usr/lib/mono/xbuild-frameworks ).
<PropertyGroup>
<AndroidSdkDirectory>/home/.../my_sdk_dir</AndroidSdkDirectory>
<TargetFrameworkRootPath>/usr/lib/mono/xbuild-frameworks/</TargetFrameworkRootPath>
</PropertyGroup>
Also it asks to remove "armeabi" from AndroidSupportedAbis
Then it builds TheLittleThingsPlayground project.
P.S. Monodevelop 7.7 shows all files twice in the project tree for Android, and needs a hack (Sdk tag) to remove the MonoAndroid error (there should be a normal way to do it, but I don't know how to do it today):
<Sdk Name="Microsoft.NET.Sdk" />
<!--
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-->
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Debian 10
Mono JIT compiler version 5.18.0.225
Microsoft (R) Build Engine version 16.0.0.0 for Mono
NuGet Version: 4.7.0.5148
.NET Command Line Tools (2.1.502)
VSCode 1.30.1
C# extension 1.17.1
nuget issue:
The reference assemblies for framework "MonoAndroid,Version=v1.0" were not found.
solution: as usually, add TargetFrameworkRootPath to the csproj file (or add the symbolic link to the MonoAndroid folder into /usr/lib/mono/xbuild-frameworks ).
<PropertyGroup>
<AndroidSdkDirectory>/home/.../my_sdk_dir</AndroidSdkDirectory>
<TargetFrameworkRootPath>/usr/lib/mono/xbuild-frameworks/</TargetFrameworkRootPath>
</PropertyGroup>
Also it asks to remove "armeabi" from AndroidSupportedAbis
Then it builds TheLittleThingsPlayground project.
P.S. Monodevelop 7.7 shows all files twice in the project tree for Android, and needs a hack (Sdk tag) to remove the MonoAndroid error (there should be a normal way to do it, but I don't know how to do it today):
<Sdk Name="Microsoft.NET.Sdk" />
<!--
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-->
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Немає коментарів:
Дописати коментар