chx777
chx777
CC#
Created by chx777 on 7/20/2024 in #help
Using the C# dev kit(not the dotnet cli) how to disable top level statements within vscode?
Is there a setting to disable top level statements in vscode please?. I only know the "dotnet new console --use-program-main" command
30 replies
CC#
Created by chx777 on 7/18/2024 in #help
How to create a single self-contained executable of a dotnet 8 C# console app in vscode?
I am a beginner trying to learn C# on linux using vscode. When i run the command dotnet run, i know that an executable is created in the bin/debug folder. When i run the executable from within this folder it runs fine.But what i want is to be able to run a copy of this executable file from anywhere on my computer. I hope someone can help on this.
3 replies