Azure / azure-cosmos-table-dotnet

.NET SDK for Azure Cosmos Table API
14 stars 6 forks source link

Method not found: 'Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder.WithConnectionModeGateway(System.Nullable`1<Int32>)'. #62

Open rcbevans opened 4 years ago

rcbevans commented 4 years ago

We are continuously addressing and improving the SDK. Please describe your issue along with the following information:

** SDK version 2.0.0-preview

** Issue reproduce steps Add Microsoft.Azure.Cosmos.Table to a project which has a dependency on any version of Microsoft.Azure.Cosmos >= 3.3.0, released on October 30 2019.

This problem was introduced by a breaking API change in Microsoft.Azure.Comos on 9/4/19: https://github.com/Azure/azure-cosmos-dotnet-v3/commit/b101e6ca9513ec19a522f4ba8df35c62e113a25c.

The signature of WithConnectionModeGateway was changed, adding a new default parameter.

-        public CosmosClientBuilder WithConnectionModeGateway(int? maxConnectionLimit = null)
+        public CosmosClientBuilder WithConnectionModeGateway(int? maxConnectionLimit = null,
+            IWebProxy webProxy = null)

A new version of the Microsoft.Azure.Cosmos.Table package needs releasing with a dependency on Microsoft.Azure.Cosmos 3.3.0 or greater.

Whether the issue is consistent or sporadic Consistent Environment Summary

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <RootNamespace>Internal.IDEAs.DataBuild.BuildModules</RootNamespace>
    <AssemblyName>Internal.IDEAs.DataBuild.BuildModules</AssemblyName>
    <Platforms>AnyCPU;x64</Platforms>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="CommandLineParser" Version="2.6.0" />
    <PackageReference Include="Microsoft.ApplicationInsights" Version="2.10.0" />
    <PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
    <PackageReference Include="Microsoft.Azure.ApplicationInsights" Version="0.9.0-preview" />
    <PackageReference Include="Microsoft.Azure.Cosmos" Version="3.0.0" />
    <PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="2.0.0-preview" />
    <PackageReference Include="Microsoft.Azure.Databricks.Client" Version="1.1.1526.2" />
    <PackageReference Include="Microsoft.Azure.DataLake.Store" Version="1.1.17" />
    <PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.4" />
    <PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="2.4.1" />
    <PackageReference Include="Microsoft.Azure.Management.ResourceManager.Fluent" Version="1.32.0" />
    <PackageReference Include="Microsoft.Azure.Management.WebSites" Version="3.0.0" />
    <PackageReference Include="Microsoft.Azure.ServiceBus" Version="4.1.3" />
    <PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.3.0" />
    <PackageReference Include="Microsoft.Azure.Storage.Common" Version="8.6.0-preview" />
    <PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.1.3" />
    <PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.20" />
    <PackageReference Include="Microsoft.Rest.ClientRuntime.Azure" Version="3.3.19" />
    <PackageReference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication" Version="2.4.0" />
    <PackageReference Include="System.CodeDom" Version="4.5.0" />
    <PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
    <PackageReference Include="WindowsAzure.Storage" Version="9.3.3" />
    <PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
  </ItemGroup>

</Project>

** Any other context, such as stack trace or log.

Method not found: 'Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder.WithConnectionModeGateway(System.Nullable`1<Int32>)'.