Breaking changes between Prism 2 Drop 7 to Drop 8

Dec 22, 2008 at 5:27 PM
Edited Jun 30, 2009 at 3:57 PM

1.

CompositeWpfEvent   {TO}>>  CompositePresentationEvent

2.

return ModuleCatalogBuilder.CreateFromXaml(new Uri("/Shell;component/ModulesCatalog.xaml", UriKind.Relative)).GetCatalog();

{TO}>>

return ModuleCatalog.CreateFromXaml(new Uri("/Shell;component/ModulesCatalog.xaml", UriKind.Relative));

3.

protected override IModuleCatalog GetModuleCatalog() {
            return new EnumeratorCatalogProvider(GetModuleEnumerator()).GetCatalog();
        }
        private static IModuleEnumerator GetModuleEnumerator() {
            return new ConfigurationModuleEnumerator();
        }

{TO}>>

protected override IModuleCatalog GetModuleCatalog() {
            ModuleCatalog catalog = new ConfigurationModuleCatalog();
            return catalog;
}

4. AG_E_PARSER_BAD_TYPE error when using remote downloading

<Modularity:ModuleCatalog xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:sys="clr-namespace:System;assembly=mscorlib"
               xmlns:Modularity="clr-namespace:Microsoft.Practices.Composite.Modularity;assembly=Microsoft.Practices.Composite.Silverlight">

</Modularity:ModuleCatalog>




{TO}>>

<Modularity:ModuleCatalogBuilder xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:sys="clr-namespace:System;assembly=mscorlib"
               xmlns:Modularity="clr-namespace:Microsoft.Practices.Composite.Modularity;assembly=Microsoft.Practices.Composite.Silverlight">

</Modularity:ModuleCatalogBuilder>

Dec 22, 2008 at 7:44 PM

For more detailed information related to the Prism V2 – Drop 8 you can also check the following article by Bob Brumfield:

·         Prism V2 – Drop 8 Available

 

Mariano Converti

http://blogs.southworks.net/mconverti