ChristopherHaws / gdax-dotnet

DotNet Core GDAX Exchange API
MIT License
7 stars 7 forks source link

A compatible SDK version for global.json version: [2.0.0-preview2-006497] #11

Open markwkjr opened 5 years ago

markwkjr commented 5 years ago

Only have the most recent SDK on my machine >dotnet --list-sdks 1.1.0 [C:\Program Files\dotnet\sdk] 2.2.101 [C:\Program Files\dotnet\sdk] And receive the following error when attempting to open Solution/repository

A compatible SDK version for global.json version: [2.0.0-preview2-006497] from [C:\gdax-dotnet\global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 Done: 2147516561. Able to fix by changing global.json to support newest stable version of .NET Core

{
  "sdk": {
    "version": "2.2.101"
  }
}

Working on a PR

markwkjr commented 5 years ago

@ChristopherHaws I generated Issue #10 as well. I'm a little bit of a Catch 22 to satisfy DoD because I have to modify two things

11 Newer .NET Core version support

10 Correct issue with failing tests

Because I cannot submit PR for #10 unless tests are passing which requires #11. And I cannot fix #10 without fixing #11 or else it won't run at all. I could probably install older version of .NET Core SDK if you really want this as 2 separate PRs?

markwkjr commented 5 years ago

PR #12 submitted to fix this issue