I want to create a new executable project with Visual Studio Code + omnisharp. It works for dll but not for an exe file.
- Created a folder for my new project (e.g. myApp)
- Open Visual studio code -> file -> open folder
- Open internal VSC terminal and type the following commands
Code:
dotnet new console (pressed yes in popup)
dotnet restore
dotnet run
//hello world was visible in terminal (what means it works)
dotnet build
Build was successful but a dll file was created.
- Actual result: dll file
- Expected result: exe file
BTW: I used this for help -> https://github.com/dotnet/docs/blob/master/docs/core/tutorials/with-visual-studio-code.md