什么是DNVM? [英] What is the DNVM?

查看:465
本文介绍了什么是DNVM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的Visual Studio代码编辑器,并创建了一个ASP.NET 5模板项目.

I'm playing with the new Visual Studio Code editor, and created an ASP.NET 5 template project.

要还原软件包,我在教程中发现需要运行dnu restore命令,该命令将获取我需要的所有服务器端引用.

To restore the packages, I found in the tutorials that I need to run the dnu restore command, which gets all the server side references that I need.

在那之后,要构建它,我必须运行dnx: web or kestrel命令,一切按预期进行.

After that, to build it I must run the dnx: web or kestrel command, and everything goes as expected.

但是,那些工具是什么?在DNVM的Git存储库中,我们没有太多信息.

But, what are those tools? In the Git repository of the DNVM we don't have much information about it.

dnu restore是否使用NuGet?

Does the dnu restore uses NuGet?

在新的.NET中是否有关于所有这些内容的完整文档?

Is there some complete documentation about all that in the new .NET?

我也想知道是否有可能在Visual Studio中使用 Roslyn 编译器Windows 8.1上的Studio代码.

I would like to know too if its possible to use the Roslyn compiler within Visual Studio Code on Windows 8.1.

推荐答案

您将在ASP.NET 5的官方文档中找到所有答案.这是链接:

You will find all of your answers at the official docs of ASP.NET 5. Here's the link: http://docs.asp.net/en/latest/getting-started/index.html

但是,让我给您一个简短的解释:

But let me just give you a briefly explanation:

  • DNX是一个SDK和运行时环境,用于为Windows,Mac和Linux创建.NET应用程序.基本上,它允许使用.NET 5 Core进行跨平台开发.
  • DNU是.NET开发实用程序.它允许您构建,打包和发布使用DNX创建的项目.
  • DNVM是.NET版本管理器.它基本上是一组命令行指令,使您可以配置.NET Runtime.

这篇关于什么是DNVM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆