I’m using PRISM and a new control which I found in CodePlex: WPF Property Grid
While I was testing the DEMO, everthing going well.
I have not started using PRISM. If I put the control in a Shell, that also works well. The problem is if I put the control in a Module, it throws an error.
Could not load file or assembly ‘WPG, PublicKeyToken=null’ or one of
its dependencies. The system cannot find the file specified.
I really have no idea about that error. Does anyone have an idea how to fix it?

EDIT:
<UserControl x:Class="ConfigurationManagerModule.Views.ConfigurationView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://www.codeplex.com/prism"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wpg="clr-namespace:WPG;assembly=WPG"
>
And this user control is part of a Module
Make sure you have your references set right. I had this problem occur when Project B used an assembly (like WPG) in XAML, but Project A actually created the instance of a Project B class. Adding the WPG reference to Project A is necessary for the XAML parser to work in this way. Referencing Project B in Project A is not sufficient.