MSB4018 Échec inattendu de la tâche "VerifyVersionsTask"

Mehdi 0 Reputation points
2023-05-11T22:23:15.73+00:00

Hello,

Could you please help me with this issue? I've tried everything..

Gravité	Code	Description	Projet	Fichier	Ligne	État de la suppression
Erreur	MSB4018	Échec inattendu de la tâche "VerifyVersionsTask".
System.Collections.Generic.KeyNotFoundException: La clé donnée était absente du dictionnaire.
   à System.ThrowHelper.ThrowKeyNotFoundException()
   à System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   à System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   à Xamarin.Android.Support.BuildTasks.NugetPackages.GatherProjectJsonVersions(String packageIdPrefix, String projectExtensionsPath, IEnumerable`1 excludedPackages, Version monoandroidVersion, Dictionary`2 packageVersions, TaskLoggingHelper log)
   à Xamarin.Android.Support.BuildTasks.VerifyVersionsTask.Execute()
   à Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   à Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()	Voiture	C:\Users\Mehdi\.nuget\packages\xamarin.android.support.annotations\28.0.0.3\build\monoandroid90\Xamarin.Android.Support.Annotations.targets	20	

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,002 questions
{count} votes