Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install specific version of dnx

I work on an ASP.NET 5 project which was set up using dnx/k version 1.0.0-beta3. Recently I did a clean install of my OS and VS and lost beta3 packages, I have only beta4 installed. Is it possible to install specific version of dnx? I have already tried:

dnvm install 1.0.0-beta3 etc.

like image 488
Zacateras Avatar asked May 02 '15 12:05

Zacateras


1 Answers

There are couple of things here. One of them is which feed settings you have. Run dnvm to list those like below:

   ___  _  ___   ____  ___
  / _ \/ |/ / | / /  |/  /
 / // /    /| |/ / /|_/ /
/____/_/|_/ |___/_/  /_/
.NET Version Manager v1.0.0-beta5-10375
By Microsoft Open Technologies, Inc.
usage: dnvm  []

Current feed settings:
Default Stable: https://www.nuget.org/api/v2
Default Unstable: https://www.myget.org/F/aspnetvnext/api/v2
Current Stable Override: https://www.myget.org/F/aspnetrelease/api/v2
Current Unstable Override: 

If the version you want to install is available on the stable feed, run the below command:

dnvm install 1.0.0-beta4-11566

This installs 1.0.0-beta4-11566 from the active stable feed. If you want to install a specific version from an unstable feed, add -u switch:

dnvm install 1.0.0-beta4-11566 -u
like image 162
tugberk Avatar answered Oct 30 '22 08:10

tugberk