You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting the following crash when trying to run the example app.
FreshTinyIoC.TinyIoCResolutionException: Resolve failed: MainPage - Reason: The BindableProperty "BackgroundGradientStops" is readonly. ---> System.InvalidOperationException: The BindableProperty "BackgroundGradientStops" is readonly.
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x0001a] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:311
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:293
at Xamarin.Forms.PancakeView.PancakeView.set_BackgroundGradientStops (System.Collections.Generic.IList`1[T] value) [0x00001] in /Users/gregmercer/Desktop/gsbgo/Experiments/Xamarin.Forms.PancakeView/src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/PancakeView.cs:76
at Thewissen.PancakeViewSample.Pages.MainPage.InitializeComponent () [0x00012] in /Users/gregmercer/Desktop/gsbgo/Experiments/Xamarin.Forms.PancakeView/example/Thewissen.PancakeViewSample/obj/Debug/netstandard2.0/Pages/MainPage.xaml.g.cs:22
at Thewissen.PancakeViewSample.Pages.MainPage..ctor () [0x00008] in /Users/gregmercer/Desktop/gsbgo/Experiments/Xamarin.Forms.PancakeView/example/Thewissen.PancakeViewSample/Pages/MainPage.xaml.cs:14
at at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:882
--- End of inner exception stack trace ---
at FreshTinyIoC.FreshTinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, FreshTinyIoC.NamedParameterOverloads parameters, FreshTinyIoC.ResolveOptions options) [0x00164] in C:\Projects\FreshMvvm\src\FreshIOC\FreshTinyIOC.cs:3388
at FreshTinyIoC.FreshTinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, FreshTinyIoC.NamedParameterOverloads parameters, FreshTinyIoC.ResolveOptions options) [0x00000] in C:\Projects\FreshMvvm\src\FreshIOC\FreshTinyIOC.cs:3314
at FreshTinyIoC.FreshTinyIoCContainer.ResolveInternal (FreshTinyIoC.FreshTinyIoCContainer+TypeRegistration registration, FreshTinyIoC.NamedParameterOverloads parameters, FreshTinyIoC.ResolveOptions options) [0x001b2] in C:\Projects\FreshMvvm\src\FreshIOC\FreshTinyIOC.cs:3175
at FreshTinyIoC.FreshTinyIoCContainer.Resolve (System.Type resolveType) [0x00000] in C:\Projects\FreshMvvm\src\FreshIOC\FreshTinyIOC.cs:1184
at FreshMvvm.FreshTinyIOCBuiltIn.Resolve (System.Type resolveType) [0x00000] in C:\Projects\FreshMvvm\src\FreshMvvm\FreshTinyIOCBuiltIn.cs:48
at FreshMvvm.FreshPageModelResolver.ResolvePageModel (System.Type type, System.Object data, FreshMvvm.FreshBasePageModel pageModel) [0x0002d] in C:\Projects\FreshMvvm\src\FreshMvvm\FreshPageModelResolver.cs:41
at FreshMvvm.FreshPageModelResolver.ResolvePageModel[T] (System.Object data, T pageModel) [0x0000b] in C:\Projects\FreshMvvm\src\FreshMvvm\FreshPageModelResolver.cs:25
at FreshMvvm.FreshPageModelResolver.ResolvePageModel[T] (System.Object initData) [0x0000b] in C:\Projects\FreshMvvm\src\FreshMvvm\FreshPageModelResolver.cs:19
at FreshMvvm.FreshPageModelResolver.ResolvePageModel[T] () [0x00000] in C:\Projects\FreshMvvm\src\FreshMvvm\FreshPageModelResolver.cs:12
at Thewissen.PancakeViewSample.App..ctor () [0x0000f] in /Users/gregmercer/Desktop/gsbgo/Experiments/Xamarin.Forms.PancakeView/example/Thewissen.PancakeViewSample/App.xaml.cs:15
at Thewissen.PancakeViewSample.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00007] in /Users/gregmercer/Desktop/gsbgo/Experiments/Xamarin.Forms.PancakeView/example/Thewissen.PancakeViewSample.iOS/AppDelegate.cs:23
at at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at Thewissen.PancakeViewSample.iOS.Application.Main (System.String[] args) [0x00001] in /Users/gregmercer/Desktop/gsbgo/Experiments/Xamarin.Forms.PancakeView/example/Thewissen.PancakeViewSample.iOS/Main.cs:17
If I changed MainPage to the following, then the example app was able to run.
I was getting the following crash when trying to run the example app.
If I changed MainPage to the following, then the example app was able to run.
The text was updated successfully, but these errors were encountered: