3

I installed .NET Core on my Mac following this guide: https://www.microsoft.com/net/core#macos

The guide says I am installing .NET Core 1.1. All the latest documentation I am studying says.NET Core 1.1 is the latest, project.json is dead and so is .xproj. No problem, I do not care that I still gotta read some xml with .csproj, we do not live in a perfect world.

But the installation says that I am installing .NET Core 1.0.3, not 1.1: enter image description here

And from terminal: enter image description here

So I am confused, looks like .NET Core 1.0.3 to me, not 1.1. Perhaps on Windows the latest version is .NET Core 1.1?

8
  • It would probably help if you chose a title for your question that does not invite downvotes.
    – Mike Nakis
    Commented Apr 30, 2017 at 0:12
  • @MikeNakis your opinion I am not inviting down votes, I am being succinct, that is my question and it summarizes my confusion or problem well. Commented Apr 30, 2017 at 0:14
  • @MikeNakis and you can see there is already a clear answer that has helped me Commented Apr 30, 2017 at 0:14
  • Of course it is my opinion. I don't express other people's opinions. I express mine.
    – Mike Nakis
    Commented Apr 30, 2017 at 0:14
  • @MikeNakis Stackoverflow is a forum that strives to provide primarily factual information, primarily opinion based information should be avoided on this forum. Commented Apr 30, 2017 at 0:33

1 Answer 1

3

Don't confuse version of .NET Core and .NET Core SDK. You have SDK 1.0.3

To check .NET version, you run in cmd:

dotnet

enter image description here

Please see this version explanation:

When you are at the dotnet command line (aka the CLI aka Command Line Interface) and type ‘dotnet’ you will be shown the version of the runtime.

When you add the version parameter (‘dotnet –version’) that will return the version of the SDK (aka CLI aka Command Line Interface) that you are working with.

16
  • Going to be honest, but it's not guaranteed to tell you the version of the ".NET Core". Sadly, there's no version that means ".NET Core". There's a host, a runtime and an sdk and each has their own version. dotnet tells you the version of the host. Sadly, there's no command to show the version of the runtime (corefx/coreclr). I look at files as I described here.
    – omajid
    Commented May 1, 2017 at 0:54
  • Oh, and if you think versions are confusing, feel free to chime in on this bug.
    – omajid
    Commented May 1, 2017 at 0:59
  • @omajid, in my quote of Julie Lerman, it's written that dotnet tell runtime version.
    – Alexan
    Commented May 1, 2017 at 1:07
  • I know, I saw the link. I think Julie is wrong. Take a look at the bug I linked. It has .NET Core developers chiming in and explaining this. To quote blackdwarf: "The host and the runtime are distinct components. 🙂 The runtime version is not displayed anywhere, which is what @omajid is asking for (see response below on that)"
    – omajid
    Commented May 1, 2017 at 1:08
  • @omajid, but host and runtime, are they not the same? What is difference?
    – Alexan
    Commented May 1, 2017 at 1:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.