C
C#β€’2y ago
Musluk

dotnet new console

when i create new dotnet project in vscode it's empty like this how can i make it full
12 Replies
Adiin
Adiinβ€’2y ago
You don't create console App
Aaron
Aaronβ€’2y ago
use dotnet new console --use-program-main
Adiin
Adiinβ€’2y ago
Create new project and search for console and get screen
WhiteBlackGoose
WhiteBlackGooseβ€’2y ago
It's actually "full" it's the new template (see the link in the same file) dotnet run and see that it works for yourself πŸ˜‰
Musluk
Muslukβ€’2y ago
it worked thanks guys
Aaron
Aaronβ€’2y ago
but yeah, both work
WhiteBlackGoose
WhiteBlackGooseβ€’2y ago
but why?
Aaron
Aaronβ€’2y ago
--use-program-main is just for preference
WhiteBlackGoose
WhiteBlackGooseβ€’2y ago
do you not like the new template or you thought it doesn't work?
Musluk
Muslukβ€’2y ago
I'm tired of coding main codes every time
WhiteBlackGoose
WhiteBlackGooseβ€’2y ago
so you don't like the new template? because it also works I'm just trying to understand. Some people get confused and think that it's an invalid program, whcih it is not
Musluk
Muslukβ€’2y ago
nah i know it still work but i need more and i am used to using this from vs