I have a .NET 3.1 console application. I use the Visual Studio Code IDE. I build the executable with dotnet publish (+ some arguments) from command line. I want the built .exe file to have my custom icon (.ico file).
What do I need to do to have the built .exe my custom icon?