【发布时间】:2019-09-09 14:44:41
【问题描述】:
我有 WSL 18.04 (Ubuntu),我想使用 NuGet.exe 使用以下代码将 Nuget 包安装到文件夹(不是 .csproj):
nuget install Test.Nuget.Version -OutputDirectory packages
在 WSL 中,我使用 sudo apt install nuget。但是,这只会在 Ubuntu 中安装旧的 nuget 版本 2.8.xxx。 =(
为了运行nuget install 命令,我必须使用安装在 Ubuntu 中的最新版 NuGet 版本(5.x.x)。
是否可以在 Ubuntu 中安装最新的 NuGet 版本? 如果是,我该怎么做?
【问题讨论】:
-
这可能对stackoverflow.com/q/38118548有帮助
标签: linux ubuntu nuget windows-subsystem-for-linux