jamesmontemagno / Xamarin.Forms-PullToRefreshLayout

Pull To Refresh a ScrollView or ListView in Xamarin.Forms
218 stars 49 forks source link

XAML reference not resolved on iOS 2.3.4-pre1 #17

Closed hardcodet closed 7 years ago

hardcodet commented 7 years ago

I got an odd one here: The latest version from NuGet works just fine on Android, but loading the page on iOS crashes the app hard with a XamlParseException:

Xamarin.Forms.Xaml.XamlParseException: Position 17:18. Type pullToRefresh:PullToRefreshLayout not found in xmlns clr-namespace:Refractored.XamForms.PullToRefresh;assembly=Refractored.XamForms.PullToRefresh at Microsoft.Scripting.Interpreter.NewInstruction.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x0004d] in /Users/builder/data/lanes/3985/9975cb17/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/Instructions/TypeOperations.cs:77 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x0001b] in /Users/builder/data/lanes/3985/9975cb17/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/Interpreter.cs:126

I have installed the NuGet into the PCL and the Droid/iOS list, and checked that I have the two library references in my iOS project. Any idea what's happening here?

Thanks, Phiilpp

hardcodet commented 7 years ago

duh I didn't see the hint about the initialization line and stupidly assumed it wasn't needed. At least now I know what those do ;)