Last night I was developing some code in .NET Core for the Dutch Azure Meetup and I was (again) encountering versioning problems and unexpected behavior.
I found this blog post which describes in some way the same problem I had.
Update 13-01-2017: I found this blog which also describes very well the issue.
What the blog post says is that if you use:
and you want use a specific version of .NET Core SDK you should add a global.json file (before executing the “dotnet new” command) like this:
The SDK’s in Windows are installed in the Program Files folder (or Program Files (x86) if you have a 32bit Windows) so let’s take a look there:
The following SDK’s are installed om my machine:
But how I know which SDK belongs to which .NET Core version? Continue reading “Demystifying .NET Core SDK versions”