Когда я создаю проект Xamarin.Android в Visual Studio, я получаю следующую ошибку. Странно то, что он работал 2 дня назад, но с тех пор я не менял никакого кода.GetAdditionalResourcesFromAssemblies Ошибка при создании Xamarin.Android в Visual Studio
Любые идеи о том, как исправить это?
Severity Code Description Project File Line Suppression State
Error The "GetAdditionalResourcesFromAssemblies" task could not be instantiated from "C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Build.Tasks.dll".
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at System.Security.Cryptography.MD5.Create()
at Xamarin.Android.Tasks.GetAdditionalResourcesFromAssemblies..ctor() 2_MFOMobile.Droid
Severity Code Description Project File Line Suppression State
Error The "GetAdditionalResourcesFromAssemblies" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name. 2_MFOMobile.Droid
Вы обновили xamarin за последние два дня? Похоже, что исключение касается шифрования, возможно ли, чтобы вы делили минимальную воспроизводимую демоверсию? –
нашел проблему. Одна из системных администраторов закрыла некоторую безопасность в сети наших компаний. – roel