I have application which has reference to Infragistics 15.2.20152.2023 version controls. My machine has the Infragistics 15.2.20152.2052 installed.
So whenever I try to add new controls - it throws me message that 'reference already exists' and doesn't allow me to add any control. If I remove old reference and add new reference which points to 2052, then the screen which already has controls (of version 2023) doesn't work at all.
Please suggest how to solve this subversion problem.
Hi Chiragkumar,
Thank you for posting in our forums!
As far as I understand the project references specific version of our controls and you have different version installed on your development environment. In order to force the project to use the version that is currently installed, you have to right click on the Infragistics’ reference inside Visual Studio and open the properties tab. After that, set the SpecifiVersion property to false. If you want to apply this change to all references, select more than one and then apply the aforementioned change accordingly.
Please let me know if you this approach works for you.
I have the Specific Version property set to false.
In that case, when I try to add a control - it throws error 'Failed to create component'. Added the screenshot below.
Please can you attach the screenshot again in your next response.
As we already verified that the specific version is set to false, here is what might happen in your scenario.
The controls inside the Visual Studio’s Toolbox are with different version than the ones referenced within your project. When you drag an item from the Toolbox, Visual Studio automatically attempts to add references to your project needed for the dragged component. However, since you already have these assemblies referenced, but with different version, exception is thrown.
In order to recreate Infragistics Toolbox tabs automatically, you have to run the Toolbox Utility which comes with installing our product. For further reference about how to run it efficiently, please see the following page: http://es.infragistics.com/help/windows-forms/introduction_running_the_toolbox_utility.html
I am waiting for you response.
I have attached the screenshot here.
Yes, I know it's happening due to different versions inside Toolbox than the ones referenced within project. That is the one I want to solve. Even if I recreate the controls using toolbox utility the version inside toolbox will again differ from the on referenced in project. So I don't think that would make any difference.
Is there any way to work with both these versions? As it's just subversion difference.
Can you let me know, how to install the specific version - 15.2.20152.2023. I have used the same exe, but still it installed - 15.2.20152.2052. Not sure if it downloads latest dlls while installing.
Thanks for your continuous help on this.
Okay, I understand the mess that is being happening on your side. There are one more thing, that could work for you. Please make sure that the Copy Local property under the Infragistics references is set to false, delete all licensing information in the license.licx file which is located inside the Properties right behind the project’s name. After that, clean and rebuild the project and check out where the Infragistics references point to via looking for the Path property. It should point to the GAC, where the installed assemblies are located.
In case this doesn’t work as well. I am providing you with download link for Infragistics 15 Vol. 2 with Service Release 2023.
I am waiting for your response.
Ah wonderful. Thank you very much!
Hi Joe,
The download link was updated.
Thank you for letting me know about that!
Hello Ivaylo,
I just found this thread and as it happens I have the exact same issue as Chiragkumar had, also with release 2023. Our project, which we are not able to change the library version for at this time, is set to release 2023 while the installer we have for a new developer workstation is setting the version to release 2118. We need to get the developer workstation on release 2023 in order to be able to work on the project.
Would you be able to provide another link (previous one appears to have expired) with the Release 2023 installer? It would be very much appreciated.
Cheers,
joe
Thanks so much Ivaylo. The link is useful and everything seems to be working fine (will observer for some more time and see if all good).