Role.OSVersion is missing

The ComputeManagementClient does not populate the Role.OSVersion property when retrieving deployment details (Deployments.GetBySlot(), Deployments.GetByName(), etc).

The following code will always throw an exception:

                using (var client = CloudContext.Clients.CreateComputeManagementClient(myCredentials))
                {
                    var deployment = client.Deployments.GetBySlot(&quot;MyService&quot;, DeploymentSlot.Production);

                    if (deployment.Roles.Any(r =&gt; string.IsNullOrEmpty(r.OSVersion)))
                    {
                        throw new Exception();
                    }
                }
I believe the problem lies in inproper casing of element &quot;OsVersion&quot; when parsing the result.

This:
XElement oSVersionElement = roleListElement.Element(XName.Get(&quot;OSVersion&quot;, &quot;http://schemas.microsoft.com/windowsazure&quot;));

Should be:
XElement oSVersionElement = roleListElement.Element(XName.Get(&quot;OsVersion&quot;, &quot;http://schemas.microsoft.com/windowsazure&quot;));<p><a href="https://github.com/WindowsAzure/azure-sdk-for-net/pull/333">https://github.com/WindowsAzure/azure-sdk-for-net/pull/333</a></p>








































































<!---@tfsbridge:{"tfsId":1163906}-->