InitializeMode Is Unrecognized

Topics: Prism v1, Prism v2 - WPF 3.5
Jun 19, 2009 at 5:52 PM
Edited Jun 19, 2009 at 5:54 PM

I am working through the conversion from June2008 to Feb2009 release.  I am using module loading on demand.

MSDN Documentation (  says to 

"Replace the StartupLoaded = "false" attribute used when a module is configured to not be initialized when the application starts with the InitializeMode"OnDemand" attribute, because the startupLoaded attribute is now deprecated."

It appears that this has not been changed in the code base however.

Has anyone encountered this issue.  Will the old attribute still work?   If not, how many changes does the code base require to work around this bug?

Thanks tons,



        /// <summary>

        /// Gets or sets a value indicating whether the module should be loaded at startup.

        /// </summary>

        /// <value>A value indicating whether the module should be loaded at startup.</value>

        [ConfigurationProperty("startupLoaded", IsRequired = false, DefaultValue = true)]

        public bool StartupLoaded


            get { return (bool)base["startupLoaded"]; }

            set { base["startupLoaded"] = value; }


Jun 19, 2009 at 8:25 PM

Hi Tracy,


This is a known bug in the Prism-v2 documentation. You can vote for the related issue tracker workitem.


You can check the thread that led to this issue tracker WorkItem here, for a further explanation:

·         Loading on demand


Thanks for posting this message.


Please let me know if this helps.


Damian Schenkelman