我在使用 dnx/k 版本 1.0.0-beta3 设置的 ASP.NET 5 项目工作。最近我对操作系统和 VS 进行了全新安装,但丢失了 beta3 软件包,我只安装了 beta4。是否可以安装特定版本的 dnx?
我已经尝试过:dnvm install 1.0.0-beta3
等等。
最佳答案
这里有几件事。其中之一是您拥有哪些提要设置。运行 dnvm
列出以下内容:
___ _ ___ ____ ___ / _ \/ |/ / | / / |/ / / // / /| |/ / /|_/ / /____/_/|_/ |___/_/ /_/ .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
这将从事件的稳定源安装 1.0.0-beta4-11566。如果要从不稳定的提要安装特定版本,请添加
-u
转变:dnvm install 1.0.0-beta4-11566 -u
关于asp.net-core - 安装特定版本的 dnx,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30002457/