3
Vote

New Async versions of methods introduced?

description

Hi all,

Via NuGet I installed the latest (version 2.0.0.0) of Prism.StoreApps and Prism.PubSubEvents (version 1.1.1.0).

I notice that the formerly overridden functions OnInitialize and OnLaunchApplication now are replaced by Asyc versions of the same methods. Am I right?

As a consequence of this, I get stuck with this call (inside the OnInitializeAsync method):
        ViewModelLocator.SetDefaultViewTypeToViewModelTypeResolver(Function(viewType)
                                                                       Dim viewModelTypeName = String.Format(CultureInfo.InvariantCulture,
                                                                                                            "Dossier365.BusinessModels.ViewModels.{0}ViewModel," &
                                                                                                            "Dossier365.BusinessModels, " &
                                                                                                            "Version=15.2.15.2211, " &
                                                                                                            "Culture=neutral, " &
                                                                                                            "PublicKeyToken={1}",
                                                                                                             viewType.Name, SNPublicKeyToken)
                                                                       Dim viewModelType = Type.GetType(viewModelTypeName)
                                                                       Return viewModelType
                                                                   End Function)
This was taken from the documentation and has been working fine.

I guess I must have made a mistake somewhere in the references, but I cannot put my finger on it. What di I do wrong?

Please some good advise or help / tips!

comments

ballance wrote Feb 20, 2015 at 12:30 AM

I'm having some similar type issues. Are there some release notes on the changes anywhere?