Application-level Resources

hi,

After deleting App.cs from the PCL project and creating a new Xaml page App, I'm getting this error "The name 'InitializeComponent' does not exist in the current context":

App.xaml.cs

using Xamarin.Forms;
namespace TipCalculator
{
    public partial class App : Application
    {
        public App()
        {
            InitializeComponent();
            MainPage = new NavigationPage(new StandardTipPage());
        }
    }
}

My code looks exactly like the code in "XAM140 - Resources and Styles" (self guided class), I've followed all steps, but it does not work.

am I missing something?

regards,
PC

Best Answer

Answers

Sign In or Register to comment.