Hi,
I'm trying to upgrade a WinForms solution from v10.3 to 2018.2, one of whose Projects includes the following references:
Infragistics.Practices.CompositeUI.WinForms
Infragitics2.Shared.v10.3
Infragistics2.Win.UltraWinDock.v10.3
Infragistics2.Win,UltraWinGrid.v1.3
Microsoft.Practices.CompositeUI
Microsoft.Practices.CompositeUI.WinForms
Microsoft.PRactices,ObjectBuilder
System
System.Core
System.Drawing
System.WindowsForms
The utility tool gives an error "Can't find a newer version for assembly Infragistics.Practices.CompositeUI.WinForms"
Because of this while building my project I get an error
Error 2 The type 'Infragistics.Win.UltraWinDock.UltraDockManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics2.Win.UltraWinDock.v10.3, Version=10.3.20103.2145, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'. C:\Projects\MyProject\ApplicationTechnicalServices\UI Services\CABExtensions\CustomWorkspaces\DockingWorkspace.cs 423 11 CABExtensions
Where is the new version of Infragistics.Practices.CompositeUI.WinForms, please?
Hello,
Support for controls part the Infragistics CAB Extensibility Kit have been deprecated with the release of version 15.1. As Microsoft has considered this technology outdated, it is no longer supported for Operating systems like windows 8 and above.
This change has been documented on our website, and can be found here.
Should you have any further questions, please let me know.Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics
Hi Tihomir,
Thankyou for getting back. But what should i do then? We have just spent a lot of time and money getting the new version and now you're saying we can't upgrade at all? Would it be available for Windows 7?
As per my previous reply, the CAB Extensibility Kit is no longer supported since version 15.1 and is not part of the installator. What you will have to do in this case is, get the 10.3 assemblies you had in your project, and follow the steps in the guilde I have posted - here to build these 10.3 assemblies against 18,2 and then you will add them manually to your project.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics
Following the instructions in the guide,
1. I get an exception at step 4:
4. Run the Project Upgrade Utility on each project. The fact that some of these projects do not have bin directories does not matter; the projects will be successfully upgraded if Step 1 was performed already. This will update the remaining Infragistics2 assemblies to the desired version.
I closed visual studio 2013 after deleting all references to Infragistics.CompositeUI.WinForms and run the utility in admin mode. For the last project, it gives an error about being unable to upgrade the project and in the logs:
01:00:19: Updating CABExtensions.csproj...01:00:19: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\CABExtensions.csproj has been backed up.01:00:19: Updating Infragistics2.Shared.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Shared.v18.2. Version 18.2.20182.13001:00:19: Updating Infragistics2.Win.UltraWinDock.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinDock.v18.2. Version 18.2.20182.13001:00:19: Updating Infragistics2.Win.UltraWinGrid.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinGrid.v18.2. Version 18.2.20182.13001:00:19: Updating Infragistics2.Win.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.v18.2. Version 18.2.20182.13001:00:19: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\CustomWorkspaces\DockingWorkspace.cs has been backed up.01:00:20: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\CustomWorkspaces\DockingSmartPartInfo.cs has been backed up.01:00:20: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\GridSelectedEventArgs.cs has been backed up.01:00:20: Done Updating CABExtensions.csproj.01:00:51: Gathering volume and assembly information.01:00:51: Could not locate registry entry Software\Microsoft\.NETCore\v4.5\AssemblyFoldersEx where we look for installed products.01:00:51: Could not find directory C:\Program Files (x86)\Infragistics\2018.2\Ignite UI\MVC\MVC3\Bin\ to search for Infragistics assemblies.01:01:08: Analyzing ComponentsLib.csproj...01:01:08: The project has references that need to be updated.01:01:08: Could not load the project. Please see the Log file for more details.01:01:08: Object reference not set to an instance of an object.01:01:08: at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()
12:58:39: Running User Interface Version 18.2.20182.2 12:58:39: Gathering volume and assembly information. 12:58:39: Could not locate registry entry Software\Microsoft\.NETCore\v4.5\AssemblyFoldersEx where we look for installed products. 12:58:39: Could not find directory C:\Program Files (x86)\Infragistics\2018.2\Ignite UI\MVC\MVC3\Bin\ to search for Infragistics assemblies. 12:59:05: Analyzing ApplicationShell.csproj... 12:59:05: The project has references that need to be updated. 12:59:13: Updating ApplicationShell.csproj... 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\ApplicationShell.csproj has been backed up. 12:59:13: Updating Infragistics2.Shared.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Shared.v18.2. Version 18.2.20182.130 12:59:13: Updating Infragistics2.Win.UltraWinDock.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinDock.v18.2. Version 18.2.20182.130 12:59:13: Updating Infragistics2.Win.UltraWinGrid.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinGrid.v18.2. Version 18.2.20182.130 12:59:13: Updating Infragistics2.Win.UltraWinStatusBar.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinStatusBar.v18.2. Version 18.2.20182.130 12:59:13: Updating Infragistics2.Win.UltraWinToolbars.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinToolbars.v18.2. Version 18.2.20182.130 12:59:13: Updating Infragistics2.Win.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.v18.2. Version 18.2.20182.130 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\CustomUIAdapters\UIRibbonAdapterFactory.cs has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\CustomUIAdapters\UIRibbonCommandAdapter.cs has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\CustomUIAdapters\UIRibbonTabCollectionUIAdapter.cs has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\CustomUIAdapters\UIRibbonToolsCollectionUIAdapter.cs has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\CustomUIAdapters\UIToolsCollectionUIAdapter.cs has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\Properties\licenses.licx has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\ShellEntryPoint.cs has been backed up. 12:59:13: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\ApplicationShell\ShellForm.cs has been backed up. 12:59:13: Done Updating ApplicationShell.csproj. 12:59:23: Gathering volume and assembly information. 12:59:23: Could not locate registry entry Software\Microsoft\.NETCore\v4.5\AssemblyFoldersEx where we look for installed products. 12:59:23: Could not find directory C:\Program Files (x86)\Infragistics\2018.2\Ignite UI\MVC\MVC3\Bin\ to search for Infragistics assemblies. 12:59:46: Analyzing Common.csproj... 12:59:46: The project has references that need to be updated. 12:59:49: Updating Common.csproj... 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\Common.csproj has been backed up. 12:59:49: Updating Infragistics2.Shared.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Shared.v18.2. Version 18.2.20182.130 12:59:49: Updating Infragistics2.Win.UltraWinDock.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinDock.v18.2. Version 18.2.20182.130 12:59:49: Updating Infragistics2.Win.UltraWinGrid.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinGrid.v18.2. Version 18.2.20182.130 12:59:49: Updating Infragistics2.Win.UltraWinToolbars.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinToolbars.v18.2. Version 18.2.20182.130 12:59:49: Updating Infragistics2.Win.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.v18.2. Version 18.2.20182.130 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\StableStringExtensions.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\StableViewAttributes.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\BaseViewModel.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\BindingsHelper.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\RibbonCommand.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\NavigationHelper.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\ToolBindingHelper.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\UltraGridRowSelectorDrawFilter.cs has been backed up. 12:59:49: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\Common\ViewModelGridHelper.cs has been backed up. 12:59:49: Done Updating Common.csproj. 12:59:59: Gathering volume and assembly information. 12:59:59: Could not locate registry entry Software\Microsoft\.NETCore\v4.5\AssemblyFoldersEx where we look for installed products. 12:59:59: Could not find directory C:\Program Files (x86)\Infragistics\2018.2\Ignite UI\MVC\MVC3\Bin\ to search for Infragistics assemblies. 01:00:17: Analyzing CABExtensions.csproj... 01:00:17: The project has references that need to be updated. 01:00:19: Updating CABExtensions.csproj... 01:00:19: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\CABExtensions.csproj has been backed up. 01:00:19: Updating Infragistics2.Shared.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Shared.v18.2. Version 18.2.20182.130 01:00:19: Updating Infragistics2.Win.UltraWinDock.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinDock.v18.2. Version 18.2.20182.130 01:00:19: Updating Infragistics2.Win.UltraWinGrid.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.UltraWinGrid.v18.2. Version 18.2.20182.130 01:00:19: Updating Infragistics2.Win.v10.3 Version=10.3.20103.2145 to new reference Infragistics4.Win.v18.2. Version 18.2.20182.130 01:00:19: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\CustomWorkspaces\DockingWorkspace.cs has been backed up. 01:00:20: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\CustomWorkspaces\DockingSmartPartInfo.cs has been backed up. 01:00:20: C:\Projects\stable_ui\stable-client\ApplicationTechnicalServices\UI Services\CABExtensions\GridSelectedEventArgs.cs has been backed up. 01:00:20: Done Updating CABExtensions.csproj. 01:00:51: Gathering volume and assembly information. 01:00:51: Could not locate registry entry Software\Microsoft\.NETCore\v4.5\AssemblyFoldersEx where we look for installed products. 01:00:51: Could not find directory C:\Program Files (x86)\Infragistics\2018.2\Ignite UI\MVC\MVC3\Bin\ to search for Infragistics assemblies. 01:01:08: Analyzing ComponentsLib.csproj... 01:01:08: The project has references that need to be updated. 01:01:08: Could not load the project. Please see the Log file for more details. 01:01:08: Object reference not set to an instance of an object. 01:01:08: at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze() 01:03:10: Analyzing ComponentsLib.csproj... 01:03:10: The project has references that need to be updated. 01:03:10: Could not load the project. Please see the Log file for more details. 01:03:10: Object reference not set to an instance of an object. 01:03:10: at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.CheckProjectForAdditionalFiles(Boolean isSLProject, XmlNode node) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Analyze()
These are the references in the project:
How should i proceed?
2. I still dont understand step 5 of the guide. I searched my C:\ and find no reference to Infragistics.CompositeUI.Winforms.sln. There's no folder like NetAdvatange. So how would i continue with steps 5,6,7?
Please let me know if you need further info. Attached the whole log file.
Thanks in advance for your help.
Regarding the error log posted of the version utility, please make sure that all of the following prerequisites are complete before you try to update:
Some of our components have also renamed, as in the Excel Library, so in case you are getting an error there, please replace these assemblies manually.
Regarding the lack of the NetAdvantage files on your machine, they come as a part of our SDK download. Please check your account under My Keys & Downloads and install the kit if it is missing on your computer. In case you don ot see it there, but you have a key for a later version, you can contact our sales team in order to obtaion a key for an older version.
Should you have any further questions, please let me know.
Just to confirm, I ideally should be seeing a folder called CAB Extensibility kit with a solution inside called Infragistics.CompositeUI.WinForms.sln, correct?
Yes, after you complete the installation you should have such a file locally on your machine.
I believe there are no new mappings for these assemblies. In case you need them. you need to build them as per the guide linked. Then again, this is from 2007, so no guarantees it will work.
I'd advise, if possible, to try to migrate your app to the new components available from our SDK.
So, mappings are:
Infragistics.Practices.CompositeUI.WinForms.UltraDockWorkspace => Infragistics.Win.UltraWinDock.UltraDockManager
Microsoft.Practices.CompositeUI.WinForms.DeckWorkspace => ?
Infragistics.Practices.CompositeUI.WinForms.UltraDockSmartPartInfo => ?
While it is not the same, UltraDockManager is a similar control, which may prove the be a good alternative. For a full list of components coming with our current winforms SDK, please visit our website here.
One last question, if you don't mind: I understand it's deprecated, but are there any alternatives to UltraDockWorkspace that are inbuilt to Infragistics_DevTools_20182.exe?