Regions Not get Displayed ViewModel Binding Problem

Topics: Prism v4 - WPF 4
Nov 9, 2011 at 6: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.

http://www.mediafire.com/?jjjtu421uywctkd

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

Thanks and Regards,

Sakthi

Developer
Nov 9, 2011 at 3:57 PM
Edited Nov 9, 2011 at 4:37 PM

Hi,

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
http://blogs.southworks.net/aadami