Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please End the Version Confusion #1328

Closed
laktak opened this issue Mar 9, 2018 · 5 comments
Closed

Please End the Version Confusion #1328

laktak opened this issue Mar 9, 2018 · 5 comments

Comments

@laktak
Copy link

laktak commented Mar 9, 2018

I just encountered a bug that appears to be fixed in 2.1 - I only wanted to verify what version of dotnet core I'm using and to check what's the latest version.

My dotnet --version says 2.1.4 but then I found your incredibly confusing release notes:

.NET Core 2.1
Release Date 	Description 	Release Notes 	
2018/02/27 	2.0.1-Preview1 with SDK 2.0.1-Preview1 	release notes 	download
.NET Core 2.0
Release Date 	Description 	Release Notes 	
2018/01/09 	2.0.5 with SDK 2.1.4 	release notes 	download

So 2.0.1-Preview1 comes after 2.0.5? And SDK 2.0.1-Preview1 comes after 2.1.4? So I probably have 2.0.5?

You said you wanted to simplify this (but that was a few months ago) - so here are some suggestions:

  • use semver
  • please drop the preview labels
  • use even/odd version numbers for release/beta versions
  • align core and sdk versions
  • make it easier to find out what's installed
@svick
Copy link
Contributor

svick commented Mar 9, 2018

Some of this is being changed for upcoming versions of .Net Core, see dotnet/designs#29 and specifically this document.

@Petermarcu
Copy link
Member

We have done the alignment of SDK and Core and done work to enable enumeration of whats installed and in view of the SDK and runtime. @laktak, do you have any feedback based on the planned results here? If not, we can probably close this issue because this is already and area that is tracked in other issues.

@laktak
Copy link
Author

laktak commented Mar 11, 2018

@Petermarcu the document does not mention it but the preview labels are gone? How are beta's versioned?

Will dotnet --version give me both the SDK and Runtime version (or how do I find out the runtime version)?

Do you know when will this be implemented?

@Petermarcu
Copy link
Member

This is all being implemented in the .NET Core 2.1.300 SDK. dotnet --version will only give you the sdk version because thats why it was added initially and people use it expecting a single value that is the sdk version. There were discussions about deprecating that switch and providing things like dotnet --version sdk so you can request a specific version. I'm going to move this issue to the core-setup repo where @steveharter can comment more on exact details of the changes and when they will be merged in.

@Petermarcu
Copy link
Member

Issue moved to dotnet/core-setup #3816 via ZenHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants