Hacker News new | ask | show | jobs
by ungzd 3492 days ago
> The new build system FOR .NET Core works great too with `dotnet build`

They've deprecated it: https://blogs.msdn.microsoft.com/dotnet/2016/05/23/changes-t...

2 comments

`dotnet build` still works, they've just changed the underlying implementation from the 'project.json' based one to instead use MBBuild
just `dotnet migrate` if you have an old project.json, or create a new one with `dotnet new`.

after that as usual

- dotnet restore

- dotnet build

- dotnet run

- dotnet pack

- dotnet publish

- dotnet test

the cli is the same, the dotnet/cli team added other commands too (dotnet msbuild, dotnet clean, and more in development using an extensibility to install global commands)

> the dotnet/cli team added other commands too (dotnet msbuild, dotnet clean, and more in development using an extensibility to install global commands)

Yeah the cmd extensibility story it pretty nice, I had a go at writing a 'dotnet benchmark' cmd and it was pretty straight-forward, see http://mattwarren.org/2016/10/03/Adding-a-verb-to-the-dotnet...