无法为 Xamarin.Forms Portable 加载文件或程序集 'Prism.Forms' 或其依赖项之一
Could not load file or assembly 'Prism.Forms' or one of its dependencies for Xamarin.Forms Portable
创建“Prism ContentPage.Forms”(MainWindow)并将其分配给 Xamarin.Forms
应用程序的主窗口后我得到这个异常的页面:
Could not load file or assembly 'Prism.Forms' or one of its dependencies for Xamarin.Forms Portable
我尝试更新所有可能的包,清理、重建、重新安装 prism,但没有任何效果。
public class App : Application
{
public App()
{
// The root page of your application
MainPage = new MainWindow();
}....
}
确保您已将 nugget 包安装到每个项目中,而不仅仅是 PCL。
创建“Prism ContentPage.Forms”(MainWindow)并将其分配给 Xamarin.Forms
应用程序的主窗口后我得到这个异常的页面:
Could not load file or assembly 'Prism.Forms' or one of its dependencies for Xamarin.Forms Portable
我尝试更新所有可能的包,清理、重建、重新安装 prism,但没有任何效果。
public class App : Application
{
public App()
{
// The root page of your application
MainPage = new MainWindow();
}....
}
确保您已将 nugget 包安装到每个项目中,而不仅仅是 PCL。