I have Created new Maui Projct Everything was working fine until i Installed latest version of xamarin.Auth version v1.7.0
`Severity Code Description Project File Line Suppression State
Error (active) MSB4018 The "VerifyVersionsTask" task failed unexpectedly.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Xamarin.Android.Support.BuildTasks.NugetPackages.GatherProjectJsonVersions(String packageIdPrefix, String projectExtensionsPath, IEnumerable`1 excludedPackages, Version monoandroidVersion, Dictionary`2 packageVersions, TaskLoggingHelper log)
at Xamarin.Android.Support.BuildTasks.VerifyVersionsTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() EcommerceDemo (net8.0-android) C:UsersHATSOFF4.nugetpackagesxamarin.android.support.annotations28.0.0.1buildmonoandroid90Xamarin.Android.Support.Annotations.targets 17 `
I have checked some other thing about this error on internet & I alredy have package version of 28.0.0.1
so thats not the problem..
removing that xamarin.auth is resolving my problem but i really need it for google sign..
`private async void GoogleSignInButton_Clicked(object sender, EventArgs e)
{
var auth = new OAuth2Authenticator(
clientId: GoogleClientId,
scope: "email",
authorizeUrl: new Uri("https://accounts.google.com/o/oauth2/auth"),
redirectUrl: new Uri("test"));
auth.Completed += OnAuthCompleted;
auth.Error += OnAuthError;
var presenter = new Xamarin.Auth.Presenters.OAuthLoginPresenter();
presenter.Login(auth);
}`