chkimes / graphql-net

Convert GraphQL to IQueryable
MIT License
891 stars 86 forks source link

The call is ambiguous between the following methods or properties #70

Closed hernandezEsteban closed 7 years ago

hernandezEsteban commented 7 years ago

Severity Code Description Project File Line Suppression State Error CS0121 The call is ambiguous between the following methods or properties: 'GraphQL.Net.InteropHelpers.OrDefault<T>(Microsoft.FSharp.Core.FSharpOption<T>)' and 'GraphQL.Net.InteropHelpers.OrDefault<T>(Microsoft.FSharp.Core.FSharpOption<T>)' GraphQL.Net C:\Users\9zllklkjflkjfljkfdsk\Desktop\graphql-net-master\GraphQL.Net\GraphQLSchema.cs 219 Active Severity Code Description Project File Line Suppression State Error CS0121 The call is ambiguous between the following methods or properties: 'GraphQL.Net.StringExtensions.ToCamelCase(string)' and 'GraphQL.Net.StringExtensions.ToCamelCase(string)' GraphQL.Net C:\Users\9zllklkjflkjfljkfdsk\Desktop\graphql-net-master\GraphQL.Net\GraphQLTypeBuilder.cs 89 Active

chkimes commented 7 years ago

Are you attempting to build the library from source? What version of Visual Studio?

This looks like a reference bug - like maybe a built version of the library is sitting in obj or bin and being referenced? That could lead to this sort of ambiguity error.

Try deleting your bin and obj folders, clean the solution, then rebuild.