使用和现有.DLL文件构建Xamarin组件我已经有一个使用.NETFramework4.0开发的.dll文件。我想使用这个dll文件来构建一个Xamarin组件。我正在遵循指南https://components.xamarin.com/guidelines但没有任何效果。始终出现以下错误:BlockquoteUnhandledException:Xamarin.Components.Packaging.InvalidPackageException:libdirectorynotfound,nobinariesincludedincomponentpackage.Xamarin.Components.Packaging.ComponentPackage.PopulateAvailableFrameworks()[0x00000]在:0在Xamarin.Components.Packaging.ComponentPackage.Init()[0x00000]在:0在Xamarin.Components.Packaging.ComponentPackage..ctor(System.Strings文件)[0x00000]在:0在Xamarin.Components.Packaging.Creation.PackageCreator.ValidatePackage(System.StringpackagePath)[0x00000]在:0在Xamarin.Components.CreateManuallyCommandHandler.Invoke(System.String[]args)[0x00000]in:0[ERROR]FatalUnhandledexception:Xamarin.Components.Packaging.InvalidPackageException:libdirectorynotfound,nobinariesincludedincomponentpackage.Xamarin.Components.Packaging.ComponentPackage.PopulateAvailableFrameworks()[0x00000]在:0在Xamarin.Components.Packaging.ComponentPackage.Init()[0x00000]在:0在Xamarin.Components.Packaging.ComponentPackage..ctor(System.Strings文件)[0x00000]在:0在Xamarin.Components.Packaging.Creation.PackageCreator.ValidatePackage(System.StringpackagePath)[0x00000]在:0在Xamarin.Components.CreateManuallyCommandHandler.Invoke(System.String[]args)[0x00000]在:0耙中止!命令失败,状态为(1):[monoxamarin-component/xamarin-component....]C:/asposecloudsdk/Rakefile:33:In`blockin'task:TOP=>default(seefulltr??acebyrunningthetask)-Tracking)以上是C#学习教程:使用现有的.DLL文件构建Xamarin组件共享的所有内容。如果对你有用,需要了解更多C#学习教程,希望大家多加关注——本文来自网络合集,不代表立场,如涉及侵权,请点击有权联系管理员删除。如需转载请注明出处:
