gpt4 book ai didi

c# - ASP.NET 5 : Is the "dotnet" command replacing "dnu" and "dnx" commands?

转载 作者:IT王子 更新时间:2023-10-29 00:25:33 25 4
gpt4 key购买 nike

今天,我按照多个教程在 Linux 上运行 C# 应用程序,但总是卡在命令 dnu restore 上,它返回了一个 not found 错误。后来才知道this page这似乎表明新命令是 dotnet restore,当我尝试它时,它起作用了。

是否完全替换了 dnudnx 命令?

此外,是否有一些关于 dotnet 命令的文档?

最佳答案

Is the dotnet command replacing dnu and dnx commands?

是的。他们正在引入新的命令行工具链,ASP.NET 5 will transition to the new tools for RC2. This is already in progress. There will be a smooth transition from DNX to these new .NET Core components.

Are the dnu and dnx commands completely replaced?

没有。如果您遵循此说明 Installing .NET Core on Linux,您可以使用 dnudnx .

Is there some documentation somewhere about the dotnet commands?

CLI Repo/Intro to .NET Core CLI - v1.0.0

关于c# - ASP.NET 5 : Is the "dotnet" command replacing "dnu" and "dnx" commands?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34167258/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com