Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Why doesn't my first project have a Main XAML file?

Am new Xamarin, using windows 7 enterprise but installed visual studio 2017 but my project solution doesn't have a XAML file. Can i get help

Best Answer

Answers

  • veeru3112veeru3112 INMember ✭✭

    Hi, your solution will have MainPage.xaml and App.xaml by default.

  • YoungRichYoungRich Member

    I understand my solution should have a MainPage.xaml y default which it doesn't have. Would like to know why i just purchased and installed visual studio 2017 enterprise edition and my OS is windows 7 enterprise edition.

  • Mr.PearceMr.Pearce DEMember ✭✭

    Could you please describe what project type you have created?
    like
    File->New Project->Cross-Platform->Mobile App(Xamarin.Forms)

    Then you can chose your platforms and if you want a blank app or some example master detail pages.

    both give me App.cs/xaml and Mainpage.cs/xaml

  • YoungRichYoungRich Member

    Thanks ClintStLaurent I thing have to install windows 10.

  • I have the same Problem with Visual Studio 2019. Have you found a solution?
    My mainpage.xaml is missing in the explorer so i can't start programming :(

Sign In or Register to comment.