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. Image for the cookie policy date

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

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

5 Replies

FP Farjana Parveen Ayubb Syncfusion Team 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
 



EM Emanuel 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.




FP Farjana Parveen Ayubb Syncfusion Team 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 



EM Emanuel 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


NK Neelakandan Kannan Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon