FreshPageModelResolver.ResolvePageModel() throws an exception in UWP Release

匆匆过客 提交于 2019-12-25 01:17:32

问题


My app uses FreshMVVM. This code works for iOS and Android, and for UWP in Debug mode. But UWP release gives an exception here:

    private void SetupSimpleNav()
    {
        Page page = FreshPageModelResolver.ResolvePageModel<MenuPageModel>();

The message is:

Resolve failed: MenuPage - Reason: Operation is not supported on this platform.

来源:https://stackoverflow.com/questions/58717470/freshpagemodelresolver-resolvepagemodel-throws-an-exception-in-uwp-release

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!