![](/img/trans.png)
[英]Reaching MainPage.Xaml.cs click handler functions from App.Xaml.cs in windows phone 8
[英]App.Xaml.cs and MainPage.xaml.cs cannot be included in Solutions Explorer of Visual Studio Community 2017
该错误表明,它无法在Xamarin Forms项目中找到App()。 在您共享的映像中,没有App.xaml及其.cs类文件。 因此,从Android和iOS项目调用LoadApplication(new App())时,它将引发错误。
如果Windows文件夹中提供了该文件,则可以删除这些文件,然后尝试在Forms项目中添加新的App.xaml文件。 完成后,您可以清洗解决方案并进行重建。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.