[英]Arrays of pointer types are currently not supported Xamarin.UWP error
I am building a Xamarin.Forms
application. 我正在构建一个
Xamarin.Forms
应用程序。 I am trying to build my Xamarin.UWP
version of the application. 我正在尝试构建应用程序的
Xamarin.UWP
版本。 The application builds fine in Debug mode but when I try to build it in release mode I get the following error: 该应用程序在Debug模式下构建良好,但是当我尝试在发布模式下构建它时,出现以下错误:
Error ILT0042: Arrays of pointer types are not currently supported: 'System.Int16*[]'.
错误ILT0042:当前不支持指针类型的数组:'System.Int16 * []'。 Arrays of pointer types are not currently supported: 'System.Single*[]'.__Arrays of pointer types are not currently supported: 'System.Int16*[]'.__Arrays of pointer types are not currently supported: 'System.Int16*[]'.__Arrays of pointer types are not currently supported: 'System.Single*[]'.__Arrays of pointer types are not currently supported: 'System.Single*[]'.__Arrays of pointer types are not currently supported: 'System.Int16*[]'.__Arrays of pointer types are not currently supported: 'System.Single*[]'.
当前不支持指针类型的数组:'System.Single * []'.__当前不支持指针类型的数组:'System.Int16 * []'.__当前不支持指针类型的数组:'System.Int16 * []'.__当前不支持指针类型的数组:'System.Single * []'.__当前不支持指针类型的数组:'System.Single * []'.__当前不支持指针类型的数组:' System.Int16 * []'.__当前不支持指针类型的数组:'System.Single * []'。 FieldStrikeMove.UWP
FieldStrikeMove.UWP
There is no file or line given with the error so I have no idea what is causing it or how to fix it. 没有给出错误的文件或行,因此我不知道是什么原因引起的或如何修复它。
The only other reference to this error I have found is here: https://forums.xamarin.com/discussion/69751/problems-with-building-and-deploying-my-projects 我在这里找到的唯一与此错误有关的参考: https : //forums.xamarin.com/discussion/69751/problems-with-building-and-deploying-my-projects
and here: https://forums.xamarin.com/discussion/73169/uwp-10-build-fail-arrays-of-pointer-types-error 和这里: https : //forums.xamarin.com/discussion/73169/uwp-10-build-fail-arrays-of-pointer-types-error
Has anyone seen this error? 有没有人看到这个错误?
From this link: https://forums.xamarin.com/discussion/comment/217997/#Comment_217997 通过此链接: https : //forums.xamarin.com/discussion/comment/217997/#Comment_217997
It turned out that something had added a reference to Xamarin.iOS
to my UWP
project. 原来,有些东西在我的
UWP
项目中添加了对Xamarin.iOS
的引用。
Delete this reference and it will all work again 删除此引用,它将再次起作用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.