kindly help in solving this issue .
kindly help in solving this issue .
Hi HSRBNSOUTH-4642,
Welcome to our Microsoft Q&A platform!
Try to create a new project to check if the mainpage.xaml still disappears.
If still, open the Visual Studio Installer, update VS to the latest then select More -> Repair. Make sure "Mobile development with .NET" component installed.
Or you can create a MainPage.xaml manually by steps: right click the project -> Add -> New Item -> Content Page. Then set it as the start page in App.xaml.cs.
public App()
{
InitializeComponent();
MainPage = new MainPage();
}
Since it's a Visual Studio issue, you can report a problem on Developer Community.
Regards,
Kyle
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
8 people are following this question.