创建Xamarin.ios.dll文件

vsnjm48y  于 2022-12-07  发布在  iOS
关注(0)|答案(1)|浏览(107)

Our app appears to be creating Xamarin.ios.dll files within the debug folders on the build. we then get the following error on certain events
System.IO.FileNotFoundException: Could not load file or assembly 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies.
We believe this is coming from one of the packages added to the project. is there an easy way to discover which package it is?

Assembly Folder:

After removing Xamarin.forms and adding the the latest version im still not given the option add the Xamarin.forms to the shared references.

References which can be added:

The app will only build if Xamarin.iOS is with the Assembly folder as shown in the previous image
we get this Error if we do not add the Xamerin.iOS.dll to the shared assembly folder:

Reported as an issue in VS

yk9xbfzb

yk9xbfzb1#

“Xamarin.iOS”包含在“Xamarin.Forms”中,所以请尝试卸载“Xamarin.Forms”Nuget包并安装最新版本。
然后删除项目路径下的“bin”和“obj”文件夹,并清理和重建项目。

相关问题