We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot find type System.Reflection.PropertyInfo in module System.Runtime.dll

Thread ID:

Created:

Updated:

Platform:

Replies:

148711 Oct 31,2019 08:59 AM UTC Nov 6,2019 05:13 AM UTC UWP 5
loading
Tags: SfDataGrid
Emanuel
Asked On October 31, 2019 08:59 AM UTC

Hello, after updated Syncfusion UWP components from 16.4.0.52 to 17.3.0.14 when I build the project get the error "Cannot find type System.Reflection.PropertyInfo in module System.Runtime.dll."


Thanks

Emanuel

Farjana Parveen Ayubb [Syncfusion]
Replied On November 1, 2019 12:24 PM UTC

Hi Emanuel, 
 
Thank you for using Syncfusion controls.   
 
We suspect that you have used Xamarin Forms SfDataGrid. In our end we have changed the following in the Data.portable source. Instead of PropertyInfo you need to give PropertyDescriptor while using the custom aggregate.  
     
public class CustomAggregate : ISummaryAggregate    
{    
              public CustomAggregate()    
              {    
              }    
              public double StdDev { get; set; }    
              public Action<System.Collections.IEnumerable, string, PropertyInfo> CalculateAggregateFunc()    
              {    
                                 
              }    
}    
 
     
The above method needs to be modified as below.    
     
public class CustomAggregate : ISummaryAggregate    
              {    
                             public CustomAggregate()    
                             {    
                             }    
                             public double StdDev { get; set; }    
                             public Action<System.Collections.IEnumerable, string, PropertyDescriptor> CalculateAggregateFunc()    
                             {    
                                               
                             }    
              }    
 
 
Please refer the below UG link and release notes 
 
If we misunderstood your requirement, please provide more information regarding the requirement. This would help us to proceed further. 
 
Regards,
Farjana Parveen A
 


Emanuel
Replied On November 4, 2019 08:38 AM UTC

Hi Farjana,
thank you for your info.
In my UWP (native) project I not have a reference to xamarin assemblies.
I added syncfusion references from nuget.



Farjana Parveen Ayubb [Syncfusion]
Replied On November 5, 2019 09:59 AM UTC

Hi Emanuel, 
 
Thank you for your update. 
 
We have analyzed your query, we have upgrade the Microsoft.NETCore.UniversalWindowsPlatform to 6.2.9 in our source, so only you faced this error when you upgrading the Syncfusion version. So, could you please update your application to 6.2.9 and change the Target version to Windows 10 Fall Creators Update (10.0; Build 16299) or above version. Please refer the below link and screen shot, 
 
 
 
 
 
Please let us know if you need any further details on this. 
 
Regards, 
Farjana Parveen A 


Emanuel
Replied On November 5, 2019 06:53 PM UTC

Hi Farjana,
thank you for the update. 
I had updated Microsoft.NETCore.UniversalWindowsPlatform to 6.2.9 and the problem was solved.

Thanks for the support.
Emanuel

Neelakandan Kannan [Syncfusion]
Replied On November 6, 2019 05:13 AM UTC

Hi Emanuel, 
  
Thanks for the update. 
  
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
  
Thanks, 
Neelakandan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon