I keep getting this error when I try to install a package in Xamarin.Forms project.
Install-Package : The type initializer for 'NuGet.EnvironmentUtility' threw an exception.
I had a similar issue little while back where in I was unable to add a new file to the project however, that went away after I cleaned and rebuilt my project and restarted VS. however, that solution is not working for this issue.