DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • 10 Traits That Separate the Best Devs From the Crowd
  • From CPU to Memory: Techniques for Tracking Resource Consumption Over Time
  • What ChatGPT Needs Is Context
  • Integrating AWS With Salesforce Using Terraform

Trending

  • 10 Traits That Separate the Best Devs From the Crowd
  • From CPU to Memory: Techniques for Tracking Resource Consumption Over Time
  • What ChatGPT Needs Is Context
  • Integrating AWS With Salesforce Using Terraform
  1. DZone
  2. Coding
  3. Languages
  4. Versions in Versions in Versions (AKA the .NET Core Russian Doll)

Versions in Versions in Versions (AKA the .NET Core Russian Doll)

If you're working in a dual OS environment, make sure you're using the same versions on all operating systems. This helps prevent errors.

Don Schenck user avatar by
Don Schenck
·
Mar. 11, 17 · Opinion
Like (1)
Save
Tweet
Share
4.50K Views

Join the DZone community and get the full member experience.

Join For Free

Ever wonder what version of .NET Core you are running?

Well, that’s simple enough to figure out; simply drop to the command line and type dotnet.You’ll see something like this:

Okay, I have version 1.1.0 installed easy enough. Another way to show this is to type dotnet --version. You'll see something like this:

Wait… what? “Preview”? But I didn’t download a preview. A quick check at the download page on the web proves that I asked for, and got, version 1.1.0:

So Many Versions, So Little Time

Turns out, there are several pieces to the .NET Core SDK, each having its own version. For example, a recent RC4 release contained:

Component Version
.NET CLI 1-0-0-rc4-004771
Runtime 1.0.3
Runtime 1.1.0
Host 1.0.1

Note: Host contains the Dotnet binary and the policy files. The CLI contains a version of MSBuild, a version of the Core SDK, and more.

The Takeaway

The important thing is not to have all this information memorized. Rather, it’s important because if you are working in a dual (or more) OS environment (for example Windows and Linux), you want to make sure you are using the same versions on all operating systems. This helps prevent errors when building or compiling code across OS lines.

.NET

Published at DZone with permission of Don Schenck, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • 10 Traits That Separate the Best Devs From the Crowd
  • From CPU to Memory: Techniques for Tracking Resource Consumption Over Time
  • What ChatGPT Needs Is Context
  • Integrating AWS With Salesforce Using Terraform

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: