jmc
jmc

Reputation: 1729

Where to download previous version of .net core sdk?

We have a project that uses .net core sdk 1.0.0-preview2-003121.

Currently, I'm setting up a CI server to do automatic builds. In the server, I'm getting this error because the .net core sdk that is installed is not the same as the one in the project.

ERROR

preview2-003121 which is not installed or cannot be found under the path C:\Program Files\dotnet.

I did a command line check dotnet --version and it gave me 1.0.0-preview2-003131

Where can I download older versions of the .net core sdk? I have tried the following links and they give me the latest version for the download

Upvotes: 19

Views: 21848

Answers (5)

David Klempfner
David Klempfner

Reputation: 9870

winget install Microsoft.DotNet.SDK.6.0.125

Replace 6.0.125 with whatever version you need.

Upvotes: 0

Manoj Attal
Manoj Attal

Reputation: 2826

If you are looking to download specific version of .Net core, you can download from here. It worked for me.

Dot Net Core Download Archive List

Upvotes: 16

ash
ash

Reputation: 3085

Even though it is a late answer, it might help others.

Check these out.

  1. https://github.com/dotnet/core/blob/main/release-notes/download-archive.md
  2. https://www.microsoft.com/net/download/all

Upvotes: 0

riezebosch
riezebosch

Reputation: 2028

Install using the chocolatey packages, of course.

Upvotes: 0

rawel
rawel

Reputation: 3033

This article explains how to install the correct .net core version. HTH. http://blog.stephencleary.com/2016/06/dotnet-netcore-versions.html

I was able to just get away with following

  1. download https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-003121/dotnet-dev-win-x64.1.0.0-preview2-003121.zip
  2. copy 1.0.0-preview2-003121 directory inside dotnet-dev-win-x64.1.0.0-preview2-003121.zip\sdk
  3. paste in C:\Program Files\dotnet\sdk

Note: I had newer sdk version already installed(1.0.0-preview2-1-003177)

---Update---

Official download location is https://github.com/dotnet/core/blob/master/release-notes/download-archive.md as mentioned by vinicius-paiva and manoj-attal.

Upvotes: 21

Related Questions