I try to activate xamarin account on Visual Studo 2015 Update 2 the error is:
System.FormatException: One of the identified items was in an invalid format. a
Updating Xamarin to the latest stable version worked for me.