want to upgrade an old VS solution that was using windows forms from infragistic version 2006 vol 1 and CLR 1.x. The infragistics dll controls show V6.1. I am currently using CLR 4.5 and infragistics 15.1 On some other VS projects. I ran the Version Utility 2015.1 and pointed to the old SLN file and clicked "upgrade to latest". In the update log file, I get the following:
02:39:14: Running User Interface Version 15.1.20151.100002:39:14: Gathering volume and assembly information.02:39:21: ProjectFile element: tele.vbproj is being treated as a proj file.02:39:21: Analyzing tele.vbproj...02:39:21: The project has references that need to be updated.02:39:24: Upgrading Solution tele.sln02:39:24: Updating tele.vbproj...02:39:24: D:\My Documents\Visual Studio 2013\Tele\tele.vbproj has been backed up.02:39:24: No matching assembly located in available assemblies Infragistics.Excel.v6.102:39:24: at Infragistics.VersionUtilitySupport.Core.Product.AssemblyXmlFile.ThrowExceptionWhenAssemblyCouldNotBeFound(String assemblyName, Boolean checkAdditionalMessage) at Infragistics.VersionUtilitySupport.Core.Product.AssemblyXmlFile.LocateNewAssembliesNodeforCurrentAssembly(String assemblyName) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)
I am at a total loss as to how to upgrade my solution. Any suggestions graciously accepted.
Hi,
The assembly "Infragistics.Excel" was renamed to "Infragistics.Documents.Excel". I would recommend manually replacing the "Infragistics.Excel.v6.1" assembly reference with a reference to "Infragistics4.Documents.Excel.v15.1", or the same assembly from the target version.
You can find the new assembly in the default installation folder "C:\Program Files (x86)\Infragistics\2015.1\Windows Forms\CLR4.0\Bin" or in the global assembly cache. In your case, I suggest you to delete the “Infragistics.Excel.v6.1" from the referenced assemblies in Visual Studio and manually add "Infragistics4.Documents.Excel.v15.1" instead (right mouse click on “References” and select “Add Reference”)
Let me know if you need further assistance.
Thanks, Ivaylo. Did what you suggested and got the same error with the next infragistic 6.1 control, so I deleted ALL references to infragistics in the project file, and simply re-added the references in my project. That seemed to solve all the problems. the application compiled and ran with no further issues. Although I'm not familiar with exactly what the Version Utility does, it seems that it could benefit in being a little more intelligent in doing the upgrades. If you renamed a control, the Version Utility should have known about that and acted appropriately, because all I was trying to do was take a working application that used the old controls and try to upgrade them to the new controls.
Thank you for the feedback!
Your thoughts on this matter seems correct to me and I will address the following scenario to our development team.