I am upgrading infragistics version 2010.1 to 2015.1. There is a project in my source code which uses infragistics windows controls. the 2010.1 version dll are
Infragistics2.Shared.v10.1Infragistics2.Win.Misc.v10.1Infragistics2.Win.UltraWinDataSource.v10.1Infragistics2.Win.UltraWinEditors.v10.1Infragistics2.Win.UltraWinExplorerBar.v10.1Infragistics2.Win.UltraWinGauge.v10.1Infragistics2.Win.UltraWinGrid.ExcelExport.v10.1Infragistics2.Win.UltraWinGrid.v10.1Infragistics2.Win.UltraWinListBar.v10.1Infragistics2.Win.UltraWinListView.v10.1Infragistics2.Win.UltraWinPrintPreviewDialog.v10.1Infragistics2.Win.UltraWinSchedule.v10.1Infragistics2.Win.UltraWinStatusBar.v10.1Infragistics2.Win.UltraWinTabControl.v10.1Infragistics2.Win.UltraWinToolbars.v10.1Infragistics2.Win.UltraWinTree.v10.1Infragistics2.Win.v10.1
I am replacing them with below
Infragistics4.Win.Misc.v15.1Infragistics4.Win.UltraWinDataSource.v15.1Infragistics4.Win.UltraWinEditors.v15.1Infragistics4.Win.UltraWinExplorerBar.v15.1Infragistics4.Win.UltraWinGauge.v15.1Infragistics4.Win.UltraWinGrid.ExcelExport.v15.1Infragistics4.Win.UltraWinGrid.v15.1Infragistics4.Win.UltraWinListBar.v15.1Infragistics4.Win.UltraWinListView.v15.1Infragistics4.Win.UltraWinPrintPreviewDialog.v15.1Infragistics4.Win.UltraWinSchedule.v15.1Infragistics4.Win.UltraWinStatusBar.v15.1Infragistics4.Win.UltraWinTabControl.v15.1Infragistics4.Win.UltraWinToolbars.v15.1Infragistics4.Win.UltraWinTree.v15.1Infragistics4.Win.v15.1
Can someone let me know whether the replacement is correct? I tried to search for below
Infragistics45.Win.Misc.v15.1Infragistics45.Win.UltraWinDataSource.v15.1Infragistics45.Win.UltraWinEditors.v15.1Infragistics45.Win.UltraWinExplorerBar.v15.1Infragistics45.Win.UltraWinGauge.v15.1Infragistics45.Win.UltraWinGrid.ExcelExport.v15.1Infragistics45.Win.UltraWinGrid.v15.1Infragistics45.Win.UltraWinListBar.v15.1Infragistics45.Win.UltraWinListView.v15.1Infragistics45.Win.UltraWinPrintPreviewDialog.v15.1Infragistics45.Win.UltraWinSchedule.v15.1Infragistics45.Win.UltraWinStatusBar.v15.1Infragistics45.Win.UltraWinTabControl.v15.1Infragistics45.Win.UltraWinToolbars.v15.1Infragistics45.Win.UltraWinTree.v15.1Infragistics45.Win.v15.1
But I couldn't find 45 version dlls for windows controls(only web controls available)
Can someone let me know whether I am doing it in right way or not?
Hello,
The replacement that you have done is correct for the newer controls and targeting .NET Framework 4.0 or later. For Windows Forms we only provided a single version of the assemblies for .NET 4.0 and later where ASP.NET we did provide assemblies for .NET 3.5, 4.0 and 4.5 when the relevant versions of the framework were released to take advantage of improvements in ASP.NET that don't apply to Windows Forms.
Note that your replacement list is missing the Infragistics4.Shared.v15.1 assembly and this is still needed if you didn't add a reference to it. If you have more projects to upgrade you may want to consider using the version utility to help you upgrade the projects.
Let me know if you have any questions with this matter.
Hi Alan,
thanks for reply. I have one more query. I didn't find replacement for "infragistics.excel.v10" dll,I replaced it with "infragistics.document.excel.v15" dll. Is that correct?
Praveen,
If you have access to the source code of ShapedButton, then it would be recommended that you upgrade the Infragistics assemblies referenced by that library to match what you are referencing in your application. Alternatively, you can add a reference back to the Infragistics2.Win.Mics.v11.2.dll and its dependencies to your application and set the alias on the reference to something so that they aren't part of the global namespace so the C# compiler is able to continue to use the newer assemblies for the code that you are writing in your application.
For more details refer to the following:
Hi Alan I am attaching ShapedButton Metadata. It indeed is inheriting "UltraButton". But why cant we use ShapedButton without upgrading the infragistics version? And we don't have the source code of ShapedButton. Please advise me is there any alternative way to do it without upgrading ShapedButton. Let me know if you are able to see the screenshots.
If the Shapedbutton derives from one of our controls and is also in another assembly you will need to recompile that assembly with the newer version of our controls. If that doesn't match your scenario, I will need more details than what is provided here.
I am facing an issue while upgrading infragistics in one of the application. I have removed 2011.1 dlls and added 2015.1 dlls in tried to build the source code I got an error which asked me to added infragistics 20111.1 dll.We are using an Inhouse control(called "Shapedbutton") and we are calling it by addind it dll in reference.The build error as at the point where we try to instantiate the ShapedButton.See the screenshots for more information.
Code in Licenses.licx file:
Before upgrade : Infragistics.Win.Misc.UltraButton, Infragistics2.Win.Misc.v11.2, Version=11.2.20112.1010, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
After Upgrade: Infragistics.Win.Misc.UltraButton, Infragistics4.Win.Misc.v15.1, Version=15.1.20151.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Build Error:
Error Pointing to Code:
References:
The WebExplorerBar is in the Infragistics.Web.UI.NavigationControls namespace.