www.un.org/Depts/DGACM/index_spanish.htm 我从Xamarin迁徙。 Anders to .NET MAUI.
www.un.org/Depts/DGACM/index_spanish.htm 我曾尝试过: 我使用了VS migrator工具。 我用手工方式试图为某些安乐团图书馆增加一些使用口供的人。
www.un.org/Depts/DGACM/index_french.htm
Error CS0115 LoginActivity.OnSaveInstanceState(Bundle) : no suitable method found to override (net8.0-android)
Error CS0115 LoginActivity.OnActivityResult(int, Result, Intent) : no suitable method found to override
Error CS0115 LoginActivity.OnOptionsItemSelected(IMenuItem) : no suitable method found to override (net8.0-android)
Error CS0103 The name FindViewById does not exist in the current context (net8.0-android)
Error CS0103 The name StartActivity does not exist in the current context (net8.0-android)
Error CS0120 非静态领域、方法或不动产需要标注。 否Extra (string?) (net8.0-android)
这些错误参考:
protected override void OnSaveInstanceState(Bundle outState)
txtUsername = FindViewById<EditText>(Application.Context.Resources.GetIdentifier("txtUsername", "id", Application.Context.PackageName));
StartActivity(homeIntent);
clearpwd = Intent.HasExtra("clearpwd");
Where am I supposed to find information on what should be used for MAUI Android? Most documentation seems to be about cross-platform MAUI. But we are not doing that, we are doing MAUI Android (this is how Visual Studio structures it when you use the their Upgrade tool).