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.
Hello,
Thank you for your post I have been looking into it and this doesn’t seem to be a known issue, so could you please send an isolated sample project, where this is reproduced, and steps to reproduce, so I can investigate it further for you.
Looking forward for your reply.
I am still trying to work through this conversion to .NET 4.5. I cannot create a sample project to recreate. All Infragistics controls will not render in the designer in VS2012 or Blend CTP2 Update2. Here are examples of the errors:
Exception: The component 'Infragistics.Windows.Design.SmartTagFramework.SmartButtonAdorner' does not have a resource identified by the URI '/InfragisticsWPF.Design.VS2012;component/smarttagframework/smartbuttonadorner.xaml'.
and
Method not found:Infragistics.Windows.Themes.ResourceSetLocator Infragistics.Windows.Themes.EditorsResourceSet'1.get_Location()
The rest of the view is rendered, but the designer cannot render any Infragistics controls.
Any suggestions you have to help me resolve these issues would be appreciated. All of the projects rendered views correctly when the projects were on .NET 4
are these messages indicating that some helper design.dll or design.VS2012.dll is missing or corrupted?
Could you please send us the exact version of VS, OS and NetAdvantage that you are using, so we could be able to investigate this further for you?
Looking forwared for your reply.
InfragisticsWPF v 12.2.20122.2089
OS Name Microsoft Windows Server 2008 R2 Enterprise
Version 6.1.7601 Service Pack 1 Build 7601
Installed Physical Memory (RAM) 16.0 GBTotal Physical Memory 16.0 GBAvailable Physical Memory 9.20 GBTotal Virtual Memory 31.9 GBAvailable Virtual Memory 24.0 GBPage File Space 16.0 GB
Microsoft Visual Studio Ultimate 2012Version 11.0.60223.01 Update 2 CTPMicrosoft .NET FrameworkVersion 4.5.50709
Installed Version: Ultimate
Architecture and Modeling Tools 04940-004-0038003-02414Microsoft Architecture and Modeling Tools UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
LightSwitch for Visual Studio 2012 04940-004-0038003-02414Microsoft LightSwitch for Visual Studio 2012
Office Developer Tools 04940-004-0038003-02414Microsoft Office Developer Tools
Team Explorer for Visual Studio 2012 04940-004-0038003-02414Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 04940-004-0038003-02414Microsoft Visual Basic 2012
Visual C# 2012 04940-004-0038003-02414Microsoft Visual C# 2012
Visual C++ 2012 04940-004-0038003-02414Microsoft Visual C++ 2012
Visual F# 2012 04940-004-0038003-02414Microsoft Visual F# 2012
Visual Studio 2012 Code Analysis Spell Checker 04940-004-0038003-02414Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Visual Studio 2012 SharePoint Developer Tools 04940-004-0038003-02414Microsoft Visual Studio 2012 SharePoint Developer Tools
Color Theme Designer 1.0Designer for creating new color themes
Infragistics Version Utility 1.0This utility lets you set the Infragistics version that a specific project is using.
Infragistics.ColorTuner 1.0Infragistics Color Tuner for Microsoft Visual Studio 2010. For more information visit http://es.infragistics.com
NuGet Package Manager 2.0.30625.9003NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.0Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 11.1.20627.00Microsoft SQL Server Data Tools
Web Developer Tools 1.0.30710.0Microsoft Web Developer Tools contains the following components:Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.Web Form Templates: Includes the default templates for Web Form Applications.Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.
yes, thank you all for your help.
If I read your last update correctly you have resolved the designer issue and this is now working correctly.
Please let us know if we can be of any further assistance.
ugh, apparently somewhere along the line some references to our own assemblies got corrupted and/or there was a custom converter throwing an exception that never appeared in any of the stack traces we were looking at and didn't happen before the switch to .NET4.5... Why IG was blowing up the designer because of these.. I will probably never know.
Thank you for YOUR patience.
Interestingly there are also multiple instances of your assemblies in memory which I'm guessing is why there are multiple instances of our assemblies. So for example I see that 2 Asset.Resources assemblies are loaded - which while they have the same version number seem to have different dates (1 from 3/15 and another from 3/18). In other cases (e.g. MVVM.Markup) I see 3 copies of your assemblies loaded. I suspect if you correct that then the designer issue will go away.
I've got nothing but patience now. Thanks for your help.
I have attached to XDesProc and added that Module output to the spreadsheet attached.
Definitely seeing 2-3 instances of many but not all IG assemblies. They all seem to be the version-free assemblies and the correct version 12.2.20122.2089.
It seems that where some are referenced 3 times, the VS2012.dll verison is only referenced twice. I don't know if that is a tell or not.
InfragisticsWPF.Editors.dll