this post was submitted on 19 Nov 2024
6 points (87.5% liked)

.NET

1508 readers
7 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 2 years ago
MODERATORS
all 5 comments
sorted by: hot top controversial new old
[–] GetOffMyLan@programming.dev 4 points 1 month ago (1 children)

Can someone explain why I would use this over the dotnet command.

I do some semi complex Dev ops stuff at work and haven't hit anything that can't be done through the cli.

[–] BlueSerendipity8@programming.dev 4 points 1 month ago (2 children)

Cake is an imperative and task-based way of expressing builds. In my opinion, it truly provides its benefits when you have a complex build pipeline. The added value is that any C# developer can understand and contribute to the build process without needing to master bash or PowerShell scripting languages or figure out how to use declarative DSLs like GitHub Actions, AppVeyor, or GitLab CI

[–] GetOffMyLan@programming.dev 1 points 1 month ago* (last edited 1 month ago)

Makes sense. So far I've been able to do all that within the project file itself with tasks and property files.

[–] Kissaki@programming.dev 1 points 1 month ago* (last edited 1 month ago) (1 children)

I'm surprised you didn't mention MSBuild. dotnet runs MSBuild, and MSBuild is task-oriented (or target-oriented? or target-task-oriented?).

I take editing via MSBuild would cover the same things, but Cake allows doing so without having to use/learn MSBuild?