I am using infragistic controls with version 11.1.20111.2090 like Infragistics2.Win.Misc.v11.1.dll etc.. we created a setup which installs the infragistic controls setup and our controls. But while launching we are getting this error
"The assembly with display name 'Infragistics2.Win.v11.1' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileLoadException: Could not load file or assembly 'Infragistics2.Win.v11.1, Version=11.1.20111.2042, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
What is the reason for this ?
How to run the application without version dependency on the Infragistic controls. URGENT reply will be appreciated.
Hello,
I am just checking about the progress of this issue. Let me know If you need any further assistance on this matter?
Thank you for using Infragistics Components.
Hello ,
If you see Infragistics Assemblies into your installation folder, then it seems that your application refers assembles into GAC instead of the installation folder. So you could try to set “Copy Local” property of Infragistics references to true, then your application will search for Infragistics reference first in the folder where the exe is.
You could use Gacutil.exe in order to registered your dlls into GAC. More information you could fin on the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Win_Using_Global_Assembly_Cache_GAC_Deployment.html
I hope that this will helps you.
Hello Hristo,
But after the installation of our tool with infragistic runtime, i am able to see the infragistic controls stored in the Installation folder rather than GAC. So you mean to say that we are using wrong infragistic installer. if yes, How can we get the Windows Form infragistic installer which installs the infragistic control libraries to GAC ?
When you install Infragistics Component they are registered in GAC (Global Assembly Cash)
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/Getting_Started_Where_Files_are_Placed_on_your_File_System_During_Installation.html
So I have researched in the web about your issue and I found the following topic in MSDN:
http://blogs.msdn.com/b/dougste/archive/2006/09/05/741329.aspx
http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/9f0c169f-c45e-4898-b2c4-f72c816d4b55/
or on the mashing on which you are trying to launch your application has no Infragistics assemblies.