We are converting existing projects with Infragistics WPF 12.2 assembly references to .NET4.5.
I cannot get VS2012 or Blend CTP 2 Update 2 to display any IG controls in the designer after changing to .NET 4.5. Projects build and run correctly.
Designer shows errors similar to:
"Object of type Jnfragistics.Windows.Themes.RibbonGeneric+ Locator cannot be converted to type Infragistics.Windows.Themes.ResourceSetLocator."
Virtually every IG control will display this error in the designer where the theme assembly is specific to the control type throwing the error.
Our Infragistics dlls are from the CLR4.0 folder. I see there is also a "Version Free" folder. Do I need to change my references to the "Version Free" dlls?
I have confirmed that all projects in the solution are targeting .NET 4.5 and they all build and run correctly. I just can't get the WYSIWYG designer to show Infragistics controls.
Thanks for your patience on this one. From the Blend list it definitely seems like multiple copies of the assemblies are being loaded. The question is why. Could I ask you to try attaching to XDesProc.exe (the "Microsoft Visual Studio XAML UI Designer") since VS won't be loading the assemblies into its process? Thx
Thanks, Andrew. I had a feeling I wasn't giving you the right thing. This one is from the second instance of VS and has two sheets, the first is modules from attached VS and the second is from attached Blend.
I'm looking for what is in the Debug->Windows->Modules of the VS instance that you attached to Blend or the instance of VS that has the designer that is demonstrating the problem so I can see what assemblies are being used at design time. Design assemblies won't be loaded at runtime and also VS uses additional information (e.g. AssemblyFolders entries in the resx) to locate assemblies that could be different than what is happening at runtime.
Thanks, Andrew. Attached Modules contents in zipped .xlsx file.
Just to clarify and make sure I'm giving you what you're asking for, I got this at runtime after launching the app in the debugger. The application runs properly. It's the VS and Blend designer that's throwing the exceptions and not rendering.
Can you post the contents of the Debug->Windows->Modules? Specifically I want to see which assemblies are loaded, their paths and what versions they are but there might be other useful information in there as well.