Hi there
Excuse me if this is stupid question but it does not appear as though we can upgrade a .NET 4.6.2 C# WinForms application currently built against Infragistics 19.1.20191.379 to use the new 2021.1 version. When I use the 2021.1 Version Utility it does not upgrade.
Am I missing something or is this correct?
If so what is the latest version of Infragistics that can be used against .NET Framework 4.6.2?
If the application was built against a later version of the .NET Framework i.e. 4.8 can it be used with 2021.1
Thanks in advance
Geoff
Hello Geoff,
You should be able to update the Infragistics version used in a .NET Framework 4.6.2 application from v19.1 to v21.1 using our Version Utility. I have attached the application of .NET 4.6.2 that uses v19.1 UltraGrid as an example. Can you please test to see if you can update the version to v21.1 with the Version Utility?.NET Framework 4.8 is supposed to work just the same.You say you cannot upgrade the version, but are you seeing any errors when you run the Version Utility?
WindowsFormsApp1_4_6_2.zip
It won't upgrade when using SDK style Visual Studio projects which are the way forward when multitargeting or using .NET 5
I have attached an example
Regards
WindowsFormsApp1_4_6_2 - SDK.zip
You can manually update the dll references in the case of your sample.
1. Open the solution with Visual Studio.
2. Expand 'WindowsFormsApp1_4_6_2' > 'Dependencies' > 'Assemblies' on the Solution Explorer.
3. Remove the following Infragistics references:Infragistics4.Shared.v19.1Infragistics4.Win.Misc.v19.1Infragistics4.Win.UltraWinGrid.v19.1Infragistics4.Win.v19.1
4. Add the references of the same dlls but have 'v21.1' in their names instead of 'v19.1' from the Infragistics install folder below.
C:\Program Files (x86)\Infragistics\2021.1\Windows Forms\CLR4.0\Bin
5. Rebuild the solution.
I have attached the sample that I updated to v21.1.WindowsFormsApp1_4_6_2 - SDK_updated.zip
Hi Mihoko
Thanks for the reply, yes I realised that I could manually update but I was trying to point out that the automated way of using the Version Utility does not work.
Geofff
Hello Geoff,Unfortunately the Version Utility currently does not support SDK style Visual Studio projects.Please let me know if you have any problems when you perform a manual update.