What is the DNVM?

只愿长相守 提交于 2019-11-30 01:10:10

问题


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

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.

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

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

Does the dnu restore uses NuGet?

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

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


回答1:


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 is a SDK and a runtime environment for creating .NET applications for Windows, Mac and Linux. Basically it allows the cross-platform development using the .NET 5 Core.
  • DNU is the .NET Development Utility. It allows you to build, package and publish projects created with DNX.
  • DNVM is the .NET Version Manager. It is basically a set of command line instructions which allow you to configure your .NET Runtime.


来源:https://stackoverflow.com/questions/30131118/what-is-the-dnvm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!