This is a migrated thread and some comments may be shown as answers.
{System.Reflection.CustomAttributeFormatException: Could not find a property with name ParameterBlockProxy
4 Answers 6 Views
This is a migrated thread and some comments may be shown as answers.
kin man
Top achievements
Rank 1
kin man asked on 18 Nov 2018, 11:58 AM

When I use RadCalendar in Xamarin forms in Simulator.

The error {System.Reflection.CustomAttributeFormatException: Could not find a property with name ParameterBlockProxy } pop up

I found that if I remove all Calendars in my app, it can work in Simulator.

 

But once I include it in Xamarin forms. The error exists.

Remarks: I can run the app in physical devices.

 

/Versions/11.12.0.4/src/Xamarin.iOS/Foundation/NSObject2.cs:497   at Foundation.NSObject..ctor (Foundation.NSObjectFlag x) [0x00006] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/src/Xamarin.iOS/Foundation/NSObject2.cs:116 

  at TelerikUI.TKCalendarDataSource..ctor () [0x00000] in <80266520e2ec48e69365daef99f55ad3>:0 
  at Telerik.XamarinForms.InputRenderer.iOS.CalendarAdapter.UpdateAppointmentsSource (Telerik.XamarinForms.Input.RadCalendar sourceOwner, TelerikUI.TKCalendar targetOwner, System.Boolean immediate) [0x0001c] in <0a8c5773e2e74216b75b8301a18ed2de>:0 
  at Telerik.XamarinForms.InputRenderer.iOS.CalendarAdapter.UpdateCore (Telerik.XamarinForms.Input.RadCalendar sourceOwner, TelerikUI.TKCalendar targetOwner, System.String propertyName) [0x00043] in <0a8c5773e2e74216b75b8301a18ed2de>:0 
  at Telerik.XamarinForms.Common.FacadeAdapterBase`2[S,T].Update (System.Object sourceOwner, System.Object targetOwner, System.String propertyName, System.Object sourceOwnerRoot, System.Object 

4 Answers, 1 is accepted

Sort by
0
kin man
Top achievements
Rank 1
answered on 20 Nov 2018, 03:43 AM

The main problem is:

Could not register the assembly 'Telerik.Xamarin.iOS': System.Reflection.CustomAttributeFormatException: Could not find a property with name ParameterBlockProxy

 

The version I used is: Telerik.Xamarin.iOS 3.1109.1

0
Yana
Telerik team
answered on 20 Nov 2018, 08:57 AM
Hi Kin,

I will need more information on your setup in order to investigate the reasons behind the exception as we haven't been reported such an error so far.  Please send us the
RadCalendar definition,  any logic you have related to appointments as well as the simulator iOS version.

I am looking forward to your reply.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
kin man
Top achievements
Rank 1
answered on 21 Nov 2018, 10:25 PM

The IOS version is 11.4, IphoneX.

Could not register the assembly 'Telerik.Xamarin.iOS': System.Reflection.CustomAttributeFormatException: Could not find a property with name ParameterBlockProxy 

is shown when the app starts. I now think it may not relate to Calendar. It may relate to not register 'Telerik.Xamarin.iOS'

0
Yana
Telerik team
answered on 22 Nov 2018, 01:56 PM
Hello Kin,

I have just tested a sample app with a few Telerik controls on the same IPhone X iOS 11.4 and I was able to properly build and deploy it.  Indeed, the error seems related to the assembly, rather than the Calendar control itself.

The error, especially the property name ParameterBlockProxy,  is really strange, so I'd like to ask you whether you've reproduced it in a sample app? Can you send it over so we could further research it?

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
kin man
Top achievements
Rank 1
Answers by
kin man
Top achievements
Rank 1
Yana
Telerik team
Share this question
or