I upgraded a project from 10.3 to 11.1 using the version utility, in my references I don't have any visible 10.3 references and all the .licx files contain references to 11.1 (I went back and deleted the contents of all 11.1); however, I get this error after deploying my application to the end user:
Could not load file or assembly 'Infragistics2.Win.UltraWinGrid.v10.3, Version=10.3.20103.2094, 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)
When I run the compiled version on my end, when I go to our About Box I can see that the code is still referencing the 10.3 version; even though, I upgraded the solution (and projects) to the latest release of 11.1.x.x and there are no direct references to 10.3
Hello Pete,
If for some reason you are still seein this behavior and a message that your application still tries to refer an older version, what I could suggest is to verify if you have having any user controls, that are used. If so, could you please remove them from the Toolbox, and try to recreate them using the latest version available. If you are using any custom build assemblies, please try to rebuild them against the latest version.
Other thing that you could try is removing your "bin" and "obj" folders if you are not storing any kind of sensitive information and rebuild one more time your app.
If it still referencing an older version we could create a LogMeIn session so I will be able to look close what is happening at your end.
If you have any other questions please feel free to ask.
Thank you the provided solution,
I am glad that you were able to resolve this behavior.
Please feel free to let me know if you still have any other questions with this matter.
When I upgraded another project (that targets .Net Framework 2.0), I'm seeing references to 11.1 even though I ran the Upgrade Version Utility.
I decided to remove the data grid from the form and drag the new grid and set the properties. This seems to have fixed my issue. This was a bizarre situation. I wonder if it has anything to do with:
a) I have many versions still installed on my dev. machine: 2009.2 through 2011.2
b) The change to the version utility, it used to work better before now every service release I have to run the version updater to get my project on the latest installed up.
I could not visibly see a reference to 10.3 anywhere. If anyone runs into this issue, remove the control and then put a new copy on the form.
What is odd, I even upgraded all the references from Infragistics2... to Infragistics4... this reference must be buried deep.
Using the Assembly Binding Log Viewer (Fuslogvw.exe):
*** Assembly Binder Log Entry (12/4/2011 @ 3:08:33 AM) ***The operation was successful.Bind result: hr = 0x0. The operation completed successfully.Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dllRunning under executable C:\DevSource\dotNet3\Apps\Luce\trunk\src\bin\Debug\NetTraxNET.Luce.vshost.exe--- A detailed error log follows. === Pre-bind state information ===LOG: User = SERENITY\PSralLOG: DisplayName = Infragistics2.Win.UltraWinGrid.v10.3, Version=10.3.20103.2094, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb (Fully-specified)LOG: Appbase = file:///C:/DevSource/dotNet3/Apps/Luce/trunk/src/bin/Debug/LOG: Initial PrivatePath = NULLLOG: Dynamic Base = NULLLOG: Cache Base = NULLLOG: AppName = NetTraxNET.Luce.vshost.exeCalling assembly : (Unknown).===LOG: This bind starts in default load context.LOG: Using application configuration file: C:\DevSource\dotNet3\Apps\Luce\trunk\src\bin\Debug\NetTraxNET.Luce.vshost.exe.ConfigLOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.LOG: Post-policy reference: Infragistics2.Win.UltraWinGrid.v10.3, Version=10.3.20103.2094, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cbLOG: Found assembly by looking in the GAC.LOG: Binding succeeds. Returns assembly from C:\Windows\assembly\GAC_MSIL\Infragistics2.Win.UltraWinGrid.v10.3\10.3.20103.2094__7dd5c3163f2cd0cb\Infragistics2.Win.UltraWinGrid.v10.3.dll.LOG: Assembly is loaded in default load context.