Regions Not get Displayed ViewModel Binding Problem

Topics: Prism v4 - WPF 4
Nov 9, 2011 at 7:12 AM

Hi All,

I have created the Prism sample with One module that contains three region that is displayed in shell. I am facing the problem that region not get binded properly. Region not get displayed when run the application.

Please find the sample under the following location.

Please let me know what i am missing in this project.

Thanks and Regards,


Nov 9, 2011 at 4:57 PM
Edited Nov 9, 2011 at 5:37 PM


After analyzing your sample we found that your module was not being loaded, hence the Initialize method of your module was not being called.

You could try configuring your PCSLibraryPrism.Module1 project with a Post-build event similar to this:

xcopy "$(TargetDir)PCSLibraryPrism.Module1.dll" "$(SolutionDir)PCSLibraryPrism\bin\$(ConfigurationName)\Modules\" /Y

If you try this, you should rebuild the solution after making this modifications.

I hope you find this useful.

Agustin Adami