2016-12-09 5 views
1

Visual StudioでXamarin.Androidプロジェクトをビルドすると、次のエラーが発生します。奇妙なことは2日前に働いたことですが、その後はコードを変更しませんでした。Visual StudioでXamarin.AndroidをビルドするときにGetAdditionalResourcesFromAssembliesエラーが発生する

修正方法に関するご意見はありますか?

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   
+0

過去2日間にxamarinを更新しましたか?例外は暗号化に関するものだと思われますが、最小限の再現可能なデモを共有することは可能でしょうか? –

+0

が問題を発見しました。システム管理者の一人が、私たちの企業ネットワークのセキュリティを閉鎖していました。 – roel

答えて

1

これは連邦情報処理規格(FIPS)に関連しています。可能であれば、FIPSを無効にするには、[管理ツール]、[ローカルセキュリティポリシー|ローカルポリス|セキュリティオプション|システム暗号化:FIPSを使用します。設定をDisabledに変更します。

PCがWindowsドメインの一部である場合、PCを再起動するたびにこの設定を再度有効にするグループポリシーが存在する可能性があります。

+0

残念ながら私のPCはグループポリシーの一部です。幸いにも、彼らは政策を変えました:) – roel

関連する問題