migration failed
Cannot convert an object from of type Syncfusion.Drawing.BrushInfo to Syncfusion.Drawing.BrushInfo
as you see there is no much help on that description and a I donto knwo where is happening.
thanks for any help
pm
Thanks for your interest in syncfusion products.
Could you check whether the assemblies referred in the properties window have the same assembly referrence and all the assemblies refer to same framework? Remove all the syncfusion assemblies from GAC and reinstall it. Delete the bin and obj folder and compile your application. Please let us know if you still see this error.
Thanks,
Rajasekar
Message 5 Object of type 'Syncfusion.Drawing.BrushInfo' cannot be converted to type 'Syncfusion.Drawing.BrushInfo'. 0 0
this.dockingManagerSLALab.InActiveCaptionBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(211)))), ((int)(((byte)(212))))));
I ignore it and the designer opens but that's pretty shaky.
Thank you for your update,
We would like to let you know that the reported issue will occur only when the application refers to the older version of assemblies even after upgrading to a higher version.
Please try the below steps to get the reported issue resolved and let us know if this helps you,
1) Open 13.1.0.21 Dashboard.
2) Run the AssemblyManager with 'RemoveAllversion' option. If you find any Syncfusion assemblies in GAC, Please remove all the Syncfusion assemblies manually.
3) Install the {required version} assemblies. For example, if your Target Framework is 4.5.1, then please remove 4.5, 4.0, 3.5 and 2.0 Syncfusion assemblies from GAC and Assemblies folder and vice versa.
4) Please check only required framework assemblies are in GAC (c:\windows\assembly) and also in Assemblies folder (C:\Program Files\Syncfusion\Essential Studio\12.2.0.36 \Assemblies\4.5.1)
5) Open the 13.1.0.21 dashboard.
6) Run the Multi Target Framework targeting to 4.5.1.
7) Click OK once operation completed successfully.
Please remove the older version dlls from your application which is found in ‘ReportLib’ project folder. This should cause the error on handling the form in designer mode. Also please ensure the older assembly does not get reflected anywhere in the project.
Please use the below steps for upgraded projects.
1) Remove Bin and Obj folder from Project path
2) Open the Visual studio IDE and open a project
3) Rebuild your project.
4) Please check once again the project refers the Syncfusion assemblies of version 13.1.0.21.
For more information, please refer the below help link.
Link: http://help.syncfusion.com/ug/common/documents/assemblymanager.htm
Could you please check with the above solution and let us know whether the provided solution helps? If not Could you please share us the details regarding this ErrorMessage 1,2 and 3. It will be helpful for us to analyze and provide you a prompt solution.
Please let us know if you need any further assistance,
Regards,
Senthil
Thank you for your update.
Please let us know if you need further assistance.
Regards,
Senthil
- 5 Replies
- 4 Participants
-
FM Francisco Marquez
- Apr 13, 2010 06:51 PM UTC
- May 27, 2015 04:18 AM UTC