I use Visual Studio 2022 Community edition, when create a new .NET Maui project (from the type project selector) appears the error CS0103 on the ide, but the project compiles and executes fine, in android emulator or windows machine. I check this post but don't works: Similar problem
the error: CS0103 on InitializeComponent();
Do you have some solution to this? thanks:
Entire error:
Error CS0103 El nombre 'InitializeComponent' no existe en el contexto actual MauiApp1 (net8.0-android), MauiApp1 (net8.0-ios), MauiApp1 (net8.0-maccatalyst), MauiApp1 (net8.0-windows10.0.19041.0) C:\Users\Jordi\source\repos\MauiApp1\MauiApp1\MainPage.xaml.cs 9 Activo
