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.
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.
Hi Chiragkumar,
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://ko.infragistics.com/help/windows-forms/introduction_running_the_toolbox_utility.html
I am waiting for you response.
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.
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.