Cannot create instance of "WpfPanel"

Jul 3, 2013 at 5:38 PM
Edited Jul 4, 2013 at 1:23 PM

I am using IAD in our project. I have a xaml when when i try to open in design view, it throws error as below

FileNotFoundException was thrown on "WpfPanel": Cannot create an instance of "WpfPanel". Click here to show details

On click it shows as below with header as "And Unhandled Eception has occured"

Could not load file or assembly 'Microsoft.Uii.Practices.CompositeUI, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Uii.Desktop.UI.Controls.Wpf.WpfPanel.InitializeControls()
at Microsoft.Uii.Desktop.UI.Controls.Wpf.WpfPanel..ctor()

I checked the 'Microsoft.Uii.Practices.CompositeUI dll which is added in references and it has version has But i dont know where do i get as mentioned in the error. i cant find it anywhere.

When i look in XAML code, there are the lines which i have in my file and lines like the one highlighted below with **** is creating the issue

              • <Wpf:WpfPanel>
Please do you have any ideas how to resolve this issue?

Jul 8, 2013 at 3:00 PM
Check your Project settings. Is the Target Framework set to .NET Framework 4 ??
Jul 17, 2013 at 9:18 AM
ndi wrote:
Check your Project settings. Is the Target Framework set to .NET Framework 4 ??
Yes ndi, I do. Thanks for replying. I have checked all projects which are part of solution and every one has .net framework4 set. I am not sure if Microsoft.Uii.Practices.CompositeUI, Version= is related to .net framework4 but yes the version actually added to references is
Jul 17, 2013 at 10:39 AM
its been a while since Setting up the IAD Reference Project. In our Project the DLL is also referenced with Version= .. we had struggle building the DLL by our own (according to the deployment guide) so we took this Version:

as recommended here:

maybe you should give that a try