the --native already exists, it&#x27;s not a dotnet cli thing<p>dotnet is a wrapper ( like git command ) for multiple executable, to replace msbuild as project file + build tool and add some new functionalities ( restore nuget packages, etc )<p>i think the real news is having a dumb project.json (nuget deps,source files,etc) and a xplat tool ( dotnet ) who read this project.json, and can restore packages, compile ( --native too ), publish, packages as another nuget package, etc.<p>All that xplat and multiple language. c# works, F# got merged last week, other coming next.<p>Some example commands:<p>- `dotnet new` scaffold a new project ( really simple atm )<p>- `dotnet restore` read dependencies from the project.json and download nuget packages<p>- `dotnet compile` call the csc compiler ( with a wrapper `dotnet-compile-csc` ) with source files, defines, references from project.json, etc<p>There is a good split of responsabilities, you can call dotnet-compile-csc if you want. dotnet cli bundle the roslyn compiler ( c#, vb ) and f# compiler, so ready to go<p>for example `dotnet compile`.<p>dotnet compile read project.json and call ( for c# ) the `dotnet-compile-csc` passing source list, defines, references, etc. dotnet-compile-csc doenst know about project.json, and call csc ( the c# compiler ).
if --native, the `dotnet compile` then call a compiler from .net bytecode to native code<p>It&#x27;s more like a replacement for msbuild, with a really good command line story, and a common project file ( project.json ) who can be used from visual studio or vs code, or others ide ( it&#x27;s a json file, dumb )