2016-08-19 45 views
0

我正在构建Xamarin.Forms应用程序。我正在尝试构建我的Xamarin.UWP版本的应用程序。 应用程序建立在调试模式很好,但是当我试图建立它在释放模式我收到以下错误:指针类型的数组目前不支持Xamarin.UWP错误

Error ILT0042: 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.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*[]'. FieldStrikeMove.UWP

没有与错误给出,所以我不知道是什么原因造成的文件或线路或如何解决它。

其他唯一的参考这个错误,我发现在这里:https://forums.xamarin.com/discussion/69751/problems-with-building-and-deploying-my-projects

这里: https://forums.xamarin.com/discussion/73169/uwp-10-build-fail-arrays-of-pointer-types-error

有没有人见过这个错误?

+0

嗨,伙计,你发现了什么? :/ ** [我问这里同样的问题...](http://stackoverflow.com/questions/39152785/xamarin-forms-uwp-error-ilt0042-arrays-of-pointer-types-are-not-目前-s)** – Emixam23

+0

@ user1嗨,你能告诉使用更多的细节?关于你的项目,你是否也在PCL中添加了对Newtonsoft.Json的引用? –

+0

@ FranklinChen-MSFT我引用'NewtonSoft.Json',但只在我的PCL中,而不在我的UWP项目中。我的项目中有大约30-40个nuget软件包,因此很难挑选哪个软件包失败。我不会认为这与'newtonsoft'有关。尽管该项目在添加参考文件后2天内就打破了(自动生成日报) – user1

回答

0

我有同样的问题,这对我的作品。如果没有原生的.Net工具链,它工作正常

enter image description here

相关问题