Migrated projects issue

after migrating projects, there is not any syncfusion UWP controls in my references, what should I do?

5 Replies 1 reply marked as answer

EM Elakkiya Muthukumarasamy Syncfusion Team November 30, 2020 09:17 AM UTC


Hi Milad, 
 
Thanks for contacting Syncfusion support.  
 
We have checked your reported query “After migrating projects, there is not any syncfusion UWP controls in my references”, can you please confirm us whether you are migrating other platform to UWP or upgrading our Synfusion older version dll to new version dll. Please refer the below help documentation link for creating the Syncfusion UWP application
 
 
please share us the following  details,  


 
  1. Target and min version of your application.
  2. Control you are using.
  3. OS version and VS version.
The above details will be helpful for us to provide a prompt solution on this. 
 
Regards, 
Elakkiya 



MI milad December 2, 2020 11:32 AM UTC

Dear Elakkiya,

Thanks for your reply.

I have an existing UWP solution and I need to add some charts to the project, thus I am going to use SfChart control. I had installed Syncfusion Essential studio, after that I got two problems:
1. When I am trying to create a new normal UWP project in my VS19, nothing created but I can create new Syncfusion Universal Windows Application.
2. When I want to migrate my existing application to Syncfusion UWP, in order to add SfChart, by Project Migration tool in Essential Studio, there were no Syncfusion controls in migrated project. so I can't use SfCharts, I've tried to add SfCharts dll to the references  manually, in this case I can add a SfChart but in runtime, the chart is blank!

about the versions:
Target Version: 1093 build 18362
Minimum version: Fall Creators Update 10.0 build 16299

2. control: SfChart

3. OS version:2004 9OS build 19041.630)
VS version 16.5.3


thanks
Regards


EM Elakkiya Muthukumarasamy Syncfusion Team December 3, 2020 04:43 PM UTC

Hi Milad, 
 
Thanks for your update. 
 
Query1. When I am trying to create a new normal UWP project in my VS19, nothing created but I can create new Syncfusion Universal Windows Application. 
Can you please confirm us whether you are facing the reported issue trying to create new UWP project after migrating the Syncfusion Universal Windows Application or not. It will be helpful for us to provide a prompt solution on this 
 
 
Query2. When I want to migrate my existing application to Syncfusion UWP, in order to add SfChart, by Project Migration tool in Essential Studio, there were no Syncfusion controls in migrated project. so I can't use SfCharts,  
We have checked the reported issue with the lower versions(Target Version: 1093 build 18362  Minimum version: 1809 build 17763  OS version: build 18363.1198),but we are unable to reproduce the reported issue. We can able to add the SFChart control from tool box. We will check the reported issue with your provided OS version and we will update you the further details on 7th December 2020.We appreciate your patience until then. 
 
Please refer the below help documentation link. 
 
 
 
Query3. I've tried to add SfCharts dll to the references  manually, in this case I can add a SfChart but in runtime, the chart is blank! 
 
Could you please confirm whether you have added the reference of SfChart properly as per in below guidelines? 
 
 
And also, please ensure,  
 
If you are deploying the application in release mode with enabling .Net Native tool chain then please use the below code, to render the chart 
 
 
App.Xaml.cs  
  
List<Assembly> assembliesToInclude = new List<Assembly>();  
  
assembliesToInclude.Add(typeof(Syncfusion.SfChart.XForms.UWP.SfChartRenderer).GetTypeInfo().Assembly);  
  
Xamarin.Forms.Forms.Init(e , assembliesToInclude);  
  
   
 
(OR) 
 
Please check whether you have provided DataContext properly to populate the collection to series and let us know if you need any further assistance on this. 
 
Regards, 
Elakkiya 



MI milad December 10, 2020 04:51 AM UTC

Hi Elakkiya,

Thanks for your answer.

My problem with creating new UWP normal App resolved without any changes! Just I had checked today and VS creates blank app successfully.

about adding reference I checked in installation location of Essential Studio. There were two references in different locations:
1. C:\Program Files (x86)\Syncfusion\Essential Studio\Universal Windows\18.3.0.47\Assemblies for Universal Windows\10.0

2. C:\Program Files (x86)\Syncfusion\Essential Studio\Universal Windows\18.3.0.47\Universal Windows\10.0\SDK\References\CommonConfiguration\neutral

Last time I have been trying on 2nd one and it wasn't working.

Today I used the first one and it's working fine. Migration Tool still not working, but I can solve my problem with adding references.

Thank you


EM Elakkiya Muthukumarasamy Syncfusion Team December 11, 2020 04:43 PM UTC

Hi Milad, 
 
Query1: Adding reference form SDK  reference path location not working properly 
We have checked this issue from our side but we are unable to reproduce the reported issue. Please refer the below video for the same. 
 
 
Please confirm us our replication procedure same us yours. If not please share us more details about your requirement or share the issue reproducing sample and the video it will be helpful for us to provide a prompt solution on this. 
 
Query2: Migration Tool still not working 
 
Project Migration tool  is used to migrate the project to required Syncfusion version when you referring old Syncfusion assemblies. You need  to refer Syncfusion assemblies in our application to migrate required version. Please refer the below help documentation link 
 
 
Please let us know if you need any further assistance on this. We will be glad to assist you. 
 
 
Regards, 
Elakkiya 


Marked as answer
Loader.
Up arrow icon