Xamarin.Forms - InitializeComponent doesn't exist when creating a new page

前端 未结 30 2298
不知归路
不知归路 2021-01-30 12:36

I\'m using Visual Studio to try out Xamarin.Forms. I\'m trying to follow the guide: http://developer.xamarin.com/guides/cross-platform/xamarin-forms/xaml-for-xamarin-forms/getti

30条回答
  •  别那么骄傲
    2021-01-30 12:52

    • I had similar problem in Visual Studio 2013 update 4 environment and I tried all recommendations what I found on the web. Nothing solved my problem.
    • Then I tried workaround approach. I installed Visual Studio 2015 preview and create new blank app with xamarin forms project.
    • When I added new Xaml file everything was OK and issue with InitialComponent method disappeared.
    • I don t know where exactly is the reason of the problem but it seems to be issue around configuration settings.

提交回复
热议问题