Developing with FIPS enabled

I get the following error when trying to build using Visual Studio 2017 on a FIPS enabled machine. I am not able to disable FIPS due to organization policy. Is there a workaround for this? I am new to Xamarin development so appreciate any help!

Severity Code Description Project File Line Suppression State
Error The "ResolveLibraryProjectImports" task failed unexpectedly.
System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.SHA1Managed..ctor()
at Xamarin.Android.Tools.Files.HashFile(String filename)
at Xamarin.Android.Tools.Files.HasFileChanged(String source, String destination)
at Xamarin.Android.Tools.Files.CopyIfChanged(String source, String destination)
at Xamarin.Android.Tasks.XDocumentExtensions.SaveIfChanged(XDocument document, String fileName)
at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() IshaZen.Android

Best Answer

Answers

Sign In or Register to comment.