I have just updated my Windows Forms Solution to the latest Service Release Infragistics4.Win.xxx.v14.2, Version=14.2.20142.2092.The whole solution does compile successful and it also runs normal.
A problem occurs if I start the “Visual studio 2013 Update 4” designer for one particular form.It shows me the error:Could not load file or assembly "Infragistics4.Win.UltraWinToolbars.v14.1, Version=14.1.20141.2059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" or one of its dependencies. The system cannot find the file specified.
The version Infragistics4.Win.xxx.v14.1 is on my machine completely uninstalled and so there is no Infragistics4.Win.UltraWinToolbars.v14.1.dll.The form does include a project which is written in C++/cli. If I try to update only this project directly with the context menu command “Upgrade Infragistics Version 14.2” an error occurs and the logfile shows:
08:47:07: Running VS2012/VS2013 Add-in UI Version 14.2.20142.1000 08:47:07: Gathering volume and assembly information. 08:47:07: Could not locate registry entry Software\Microsoft\.NETCore\v4.5\AssemblyFoldersEx where we look for installed products.
I have checked in this project the references for all Infragistics4.Win.xxx.v14.2 and removed them manually and insert them again.
If I run “Upgrade Infragistics Version 14.2” over the context menu for the complete solution no error occurs, but after then the designer still can not load the form and shows the above written error.
In the main menu of Visual studio 2013 under Infragistics there is still a sub item “Platform Installer 2014.1”, despite I have uninstalled it over the control panel. This might be an indicator that the uninstallation of “Infragistics4.Win.xxx.v14.1” did not finish in the past completely.
Has anyone an idea how this can be fixed?
Best regardsFrank
Hello Frank,
I am glad that your issue is solved now.
Thank you for using Infragistics controls.
Hello Danko,
The “CustomImageBox” does include other DLLs and I did scan the whole computer for any duplicates of them.
I found two old duplicates under the directories: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDEwhich belongs to Visual Studio 2010 and exactly the same old duplicate under the directory C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDEwhich belongs to Visual Studio 2013.
That both old duplicates were built on 30 08 2014 and they had a reference to „Infragistics4.Win.UltraWinToolbars.v14.1, Version=14.1.20141.2059”.So both Visual Studio Versions did take an old DLL version in their designer modes. I’m convinced that Visual Studio did make these copies accidentally himself.Sometimes I use Visual Studio 2010 because “edit and continue” in native mode, does not run properly under Visual Studio 2013 Update 4.
After removing the old DLLs from these directories and several rebuilds, both Visual Studio Versions can now load the user control correctly. I have also uninstalled „Infragistics4.Win.xx, Version=14.1” and don’t get an error message anymore.
This was deep scrutinizing but now the weekend is saved.Thank you very much indeed for your worthful help.
You are welcome.
Could you please try one last thing here. You are saying that when you drag the control from the toolbox to the design surface, than the designer throws that message. Could you please remove that control from your toolbox, rebuild your application, and add the newly created "CustomImageBox" in the toolbox. After that try to move exact this control to the design surface. I believe that your Visual Stuido toolbox might be keeping reference to your old "CustomImageBox" control which is being created with 14.1, and that's why your are seeing such behavior.
Thanks for your collaboration.
The “CustomImageBox” is part of the solution and the references are updated to Infragistics4.Win.xxx.v14.2, Version=14.2.20142.2092.
I have tested the application in a virtual machine where only Infragistics4.Win.xxx.v14.2, Version=14.2.20142.2092 DLLs are installed and there it runs normal. So at runtime no component „Infragistics4.Win.UltraWinToolbars.v14.1, Version=14.1.20141.2059” is required.
Only the “Visual studio 2013 and also the “Visual studio 2010 designer does search for „Infragistics4.Win.UltraWinToolbars.v14.1, Version=14.1.20141.2059”.
I have reinstalled „Infragistics4.Win.xxxx.v14.1, Version=14.1.20141.2059” on my developer machine and the designer doesn’t anymore show the error message, because now the component is available with exactly this “Version=14.1.20141.2059”.
For the moment, let us say this “bronze medal solution” is enough and I am able to continue my work. I will try to find out more in future.
Thank you so much for your help!
regards Frank
Thank you for providing me with the screenshots.
The behavior that you are getting now, is caused by the fact, that your "CustomImageBox" user control, is build with 14.1 Version of the Infragistics Controls, and that's why it is looking for them when you drag it on the Design surface. If you have the source code which creates this customer control, you would have to rebuild it using the new version of the Infragistics Controls 2014 vol2, and then replace the control from the toolbox, with the newly created one.
I have created for you the following private case - CAS-152229-V6F8B8, where you would be able to provide us with a sample, that our Version Utility 2014 vol2 is not able to upgrade currently.
Thanks.