I am using Visual Studio 2015, with Azure SDK 2.7. Using the instructions here (docs.sitefinity.com/publish-your-project-to-azure-web-apps), I keep receiving the following error after the deployment:
"The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' threw an exception. "
Any help is appreciated.
I was able to add a redirect to the web.config and it worked with SDK 2.7
<assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-126.96.36.199" newVersion="188.8.131.52"/>
Hope this helps someone else.