EF 6 y tipo espacial DbGeography en Windows Azure

He pasado un par de días muy frustrantes ahora tratando de que el DbGeography de tipo espacial funcione en Windows Azure. Tengo un proyecto de Windows Azure con un Webrole donde uso el método DbGeography.Distance () para calcular distancias. Funciona como un encanto en mi computadora local, pero una vez publicado en Azure, obtengo la excepción:

Search spa  failed message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at Microsoft.SqlServer.Types.GLNativeMethods.GeodeticDistance(GeoMarshalData g1, GeoMarshalData g2, EllipsoidParameters ellipsoidParameters, Double& result)
   at Microsoft.SqlServer.Types.GLNativeMethods.GeodeticDistance(GeoData g1, GeoData g2, EllipsoidParameters ellipsoidParameters)
   at Microsoft.SqlServer.Types.SqlGeography.STDistance(SqlGeography other)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Data.Entity.SqlServer.SqlSpatialServices.Distance(DbGeography geographyValue, DbGeography otherGeography)
   at System.Data.Entity.Spatial.DbGeography.Distance(DbGeography other)
   at DataAccess.Util.DistanceHelper.GetDistanceDictionary(DbGeography spaLocation)
   at MvcWebRole.Controllers.SpaController.SearchSpa(String searchString)

He seguido la publicación del blog.http://alastaira.wordpress.com/2011/08/19/spatial-applications-in-windows-azure-redux-including-denali/ agregando referencia a Sql.Server.Types y SqlServerSpatial.dll, msvcp100.dll y msvcr100.dll. Thist realmente trabajó con EF5 y un proyecto de sitio web de Azure, pero no ahora cuando actualicé a EF6 y un proyecto de servicio en la nube :(