Hacker News new | ask | show | jobs
by electricEmu 3496 days ago
Either FAKE (F# Make) or CAKE (C# Make) work perfectly on NIX/BSD systems. The new build system FOR .NET Core works great too with `dotnet build`.
2 comments

Yes, Cake is wonderful, however, I had great problems bringing it to work due to a lot of issues with NuGet v3 (UTC positive offset bug, looking for msbuild.exe to restore packages, ...). Luckily, I could switch to NuGet v2.

Bottom line is: CAKE is great, but if the project depends on things that are not covered by dotnet core one is still screwed.

> 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...

`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...