Saw someone else had this same error in 2008 but didnt see a solution. I have a demo app with the following references:
Infragistics3.Wpf.Editors.v9.2, Infragistics3.Wpf.Ribbon.v9.2 and Infragistics3.Wpf.v9.2.
My XAML:
<Window x:Class="RibbonTest.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:igRibbon="http://infragistics.com/Ribbon" Title="Window1" Height="300" Width="300"> <Grid> <igRibbon:XamRibbon Theme="Office2k7Black"> <igRibbon:XamRibbon.Tabs> <igRibbon:RibbonTabItem Header="Format" /> <igRibbon:RibbonTabItem Header="Insert" /> </igRibbon:XamRibbon.Tabs> </igRibbon:XamRibbon> </Grid></Window>
About as default as I could possibly get it, with the XamRibbon code cut and pasted from the XamFeatureBrowser. The application actually works, when I run it I see the ribbon. But it always shows the 'Could not create instance of type 'XamRibbon' error.
What am I doing wrong?
I opened the project you provided in VS 2008 and in Blend 3 and in both case I can see the design surface without getting any error and when I run the application I don't see an issue either. When/where are you seeing this issue? Can you post a screenshot?
I noticed you have resharper running, would it be possible to disable that and any other addins in VS and see if there is some sort of conflict?
No problem, I attached the solution since it was a very small demo app. Let me know what you find! I cant use the ribbon if it prevents me from designing my entire app.
Thanks!
I have not seen that issue. Could you post the exe (with the dlls) here (you can add attachments in the options tab) so I could run it and see the error? Otherwise can you post the call stack for the exception?