Could not load file or assembly ... SfPopupLayout

I'm not sure how to resolve this. During runtime, I'm getting an initialization error

System.IO.FileNotFoundException: Could not load file or assembly 'Syncfusion.SfPopupLayout.XForms, Version=18.4451.0.33, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

The file (if this is the correct one) exists here:
C:\Users\...\.nuget\packages\syncfusion.xamarin.sfpopuplayout\18.4.0.33\lib\netstandard2.0\Syncfusion.SfPopupLayout.XForms.dll

This is happening in the constructor of my ContentPage.

The Dependencies/Packages folder shows Syncfusion.Xamarin.SfPopupLayout(18.4.0.33). I see the error is reporting 18.4451.0.33. I'm pretty certain this is the problem but I don't see anyplace this reference comes from. In my app's .csproj file, the SfPopupLayout version reference is 18.4.0.33.

Thanks.


3 Replies

PK Pradeep Kumar Balakrishnan Syncfusion Team January 7, 2021 09:53 AM UTC

Hi peri Hartman, 
 
Thank you for contacting Syncfusion support.. 
 
We have analyzed your query for the Exception System.IO.FileNotFoundException: Could not load file or assembly 'Syncfusion.SfPopupLayout.XFormsWe have tried to reproduce the reported use case in the sample unfortunately we could not able to reproducible the issue from our side, and we have validated in the NuGet version of 18.4.0.33. We have attached the tested sample for your reference in the following link.  
 
 
Please check shared project and revert us if the reported issue is occurring in this sample too, if not check your project file may be you installed more than one version of SfPopupLayout package.  
 
Regards, 
Pradeep Kumar B 
 



PH peri hartman January 9, 2021 01:18 AM UTC

I uninstalled everything again and started from scratch. Testing every step along the way, from a bare Andriod, iOS app to adding UWP and, finally, one that has SfListView and SfButton, I got it working !

Thanks for taking the time to help me.


PK Pradeep Kumar Balakrishnan Syncfusion Team January 11, 2021 03:36 AM UTC

Hi peri Hartman, 
 
Thank you for the update. We are glad to know that faced IDE issues are resolved. Please get in touch with us if you would require any further assistance in future. 
 
Regards, 
Pradeep Kumar B 


Loader.
Up arrow icon