Issues with Azure Support

  • When compiling COBOL Azure Role projects in Enterprise Developer for Visual Studio 2013 you receive warnings at build time and the code fails to execute when deployed to Azure.

    To work around this issue, you need to manually add the code below to the configuration section of the Web.config file in your project for Web Roles or in the app.config file for Worker Roles:

    <runtime>
          <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
              <dependentAssembly>
                  <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" />
                  <bindingRedirect oldVersion="0.0.0.0-5.7.0.0" newVersion="5.7.0.0" />
              </dependentAssembly>
              <dependentAssembly>
                  <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" />
                  <bindingRedirect oldVersion="0.0.0.0-5.7.0.0" newVersion="5.7.0.0" />
              </dependentAssembly>
              <dependentAssembly>
                  <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
                  <bindingRedirect oldVersion="0.0.0.0-5.7.0.0" newVersion="5.7.0.0" />
              </dependentAssembly>
              <dependentAssembly>
                  <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
                  <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
              </dependentAssembly>
          </assemblyBinding>
    </runtime>

    This information is added automatically when you create COBOL Azure projects in Visual Studio 2015 or later.