C
C#•3y 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•3y ago
You don't create console App
Aaron
Aaron•3y ago
use dotnet new console --use-program-main
!Adiin
!Adiin•3y ago
Create new project and search for console and get screen
WhiteBlackGoose
WhiteBlackGoose•3y 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
MuslukOP•3y ago
it worked thanks guys
Aaron
Aaron•3y ago
but yeah, both work
WhiteBlackGoose
WhiteBlackGoose•3y ago
but why?
Aaron
Aaron•3y ago
--use-program-main is just for preference
WhiteBlackGoose
WhiteBlackGoose•3y ago
do you not like the new template or you thought it doesn't work?
Musluk
MuslukOP•3y ago
I'm tired of coding main codes every time
WhiteBlackGoose
WhiteBlackGoose•3y 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
MuslukOP•3y ago
nah i know it still work but i need more and i am used to using this from vs
Want results from more Discord servers?
Add your server