error registering a factory

Dec 27, 2013 at 3:53 PM
Hi,
in the ModelViewLocator I have this:
        SimpleIoc.Default.Register<ISerializeObjects, SerializeObjects>();
        SimpleIoc.Default.Register<IViewLocator, ViewLocator>();

        SimpleIoc.Default.Register<INavigate>(() =>
        {
            return new WindowsPhoneNavigator(App.RootFrame,
                //ServiceLocator.Current.GetInstance<IViewLocator>(),
                //ServiceLocator.Current.GetInstance<ISerializeObjects>()
                new ViewLocator(),
                new SerializeObjects()
                );
        });
compiling I find this error
Error 6 There is already a factory registered for PortableLib.Interfaces.INavigate. D:\Sorgenti\CS 45\WinApps\ArtiMarzialiWp8\App.xaml 5 5 ArtiMarzialiWp8

but all seems to work fine: this error happened when I moved the code in a project with the portable version of Mvvm Light

I'm missing something?
thanks,
luca