I already have a Program.cs
in the folder/directory and no other files.
When I do dotnet new console
, it won't let me create it unless I use --force
to overwrite the Program.cs
. I think I just need to create .csproj
project file to build, run and debug it.
Is there a dotnet new console
with option to skip Program.cs
creation?
Otherwise, I will need to make a new directory and create dotnet new console
and then I have to replace the auto-generated Program.cs
with my Program.cs
.