C
C#•9mo ago
duaalk

Dotnet CLI

why should I use cli when I can use visual studio to do what cil does ?
4 Replies
Pobiega
Pobiega•9mo ago
Because you can script the CLI? Because dotnet tool exists? Because its easier to say "oh run this terminal command" instead of sending 5 screenshots of VS because not everyone uses VS?
Sossenbinder
Sossenbinder•9mo ago
Also for CI/CD environments or Dockerfiles
Angius
Angius•9mo ago
There's no VS for Linux, and any web app will run on Linux And even if there was VS for Linux, why would you want to install something this massive just to run an app, if you can dotnet run it
Parpil
Parpil•9mo ago
VS just calls cli. VS calls cli commands that developers of VS implemented in UI, but those are not all cli commands. As mentioned CI/CD. Learn cli commands, at first it may seem hard, but once you get addicted to it, you will wish to develop through terminal (I do sometimes 🙂 )
Want results from more Discord servers?
Add your server