2016-08-19 70 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

相關問題