Coinio/Bittrex.Api.Client

CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Closed this issue · 5 comments

Hi,

When I am using your client.GetBalances() method right off the bat I am getting this error:
https://stackoverflow.com/questions/44652434/type-object-is-defined-in-an-assembly-that-is-not-referenced-net-standard-2-0

I even installed vs 2017 15.5 and still the same error. If I manually add netstandard.dll from nuget/packages folder, the entire project fails to compile due to tons of errors like string not defined etc, duplicates.

Any idea how to fix this?

Never saw this issue before.

I'll take a look this weekend.

thx a lot man.

I've tried creating a new .NET 4.6.2 project and importing the nuget package and running the GetBalances() method and it works fine. Is your project definitely targeting the correct .NET version (i.e. 4.6.1 onwards) and have you installed the .NET Core 2.0 SDK on your development machine?

Hi I just switched to .NET 4.6.1 in VS 2015:
https://imgur.com/a/oFFjQ

still same.

As far as I know in order to get .NET Standard 2.0 packages to work you will need the .NET Core 2.0 SDK installed (https://www.microsoft.com/net/download/windows) and run Visual Studio 2017.