What is the DNVM?
Asked Answered
H

1

22

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.

Hixon answered 8/5, 2015 at 19:6 Comment(1)
Dnx is a runtime that runs yoir aspnet 5 app. Dnu help managing package dependencies and uses nuget API. Dnu restore is similar to nuget restore. Dnvm is a version mamager for dnx runtime. See docs here: github.com/aspnet/Home/wiki/Version-ManagerGeology
V
31

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.
Vane answered 9/5, 2015 at 18:3 Comment(3)
So, the DNX is something thats substitutes all the CLR? Jitter, etc. Something like MONO?Hixon
What is now replacing DNVM ?Camise
@Camise DNX and DNVM have been replaced by the new .NET CLI. github.com/aspnet/…Headpiece

© 2022 - 2024 — McMap. All rights reserved.