【发布时间】:2019-03-03 21:45:08
【问题描述】:
无论链接器选项如何,几乎所有程序集(如下所列)都会出错。我不知道 AOT 编译器的问题出在哪里。你有什么想法吗?
编辑:我是 xamarin 和应用程序开发的新手。 诊断级别为here 的完整错误消息。重现问题的示例项目here。
受影响的程序集:
Projet "Chronique.Android.csproj" (Install cibles) :
XA3001: Could not AOT the assembly: FFImageLoading.dll
XA3001: Could not AOT the assembly: Chronique.dll
XA3001: Could not AOT the assembly: FFImageLoading.Forms.dll
XA3001: Could not AOT the assembly: FFImageLoading.Transformations.dll
XA3001: Could not AOT the assembly: Chronique.Android.dll
XA3001: Could not AOT the assembly: FFImageLoading.Platform.dll
XA3001: Could not AOT the assembly: FFImageLoading.Forms.Platform.dll
XA3001: Could not AOT the assembly: FormsViewGroup.dll
XA3001: Could not AOT the assembly: IF.Lastfm.Core.dll
XA3001: Could not AOT the assembly: Hqub.MusicBrainz.API.dll
**Configuration:**
Microsoft Visual Studio Enterprise 2017
Version 15.8.5
VisualStudio.15.Release/15.8.5+28010.2036
Microsoft .NET Framework
Version 4.7.03056
Version installée : Enterprise
Mono Debugging for Visual Studio 4.11.11-pre (8fb558f)
Support for debugging Mono processes with Visual Studio.
Xamarin 4.11.0.776 (d15-8@1ae9b59d7)
Extension Visual Studio permettant de développer pour Xamarin.iOS et Xamarin.Android.
Xamarin Designer 4.15.9 (d000f568b)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 1.1.116 (9619170)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 9.0.0.19 (HEAD/a8a3b0ec7)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 12.0.0.15 (84552a4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
【问题讨论】:
-
为 MSBuild 打开诊断级别调试,清理/重建并发布完整的 AOT 构建错误。
-
好的,我会这样做的
-
好吧,aot 似乎适用于我的 appcenter 构建,也许这是我本地视觉工作室的一个错误..
标签: xamarin xamarin.forms xamarin.android aot