C
C#2y ago
Mekasu0124

✅ [solved] Custom Icon For Application Taskbar Icon

How do I set a custom image that is located at root/images/icon.ico for my console based application and for the .exe icon after build?
12 Replies
Henkypenky
Henkypenky2y ago
project properties somewhere application Icon
Mekasu0124
Mekasu0124OP2y ago
OMG TYSM
Henkypenky
Henkypenky2y ago
Ok
Mekasu0124
Mekasu0124OP2y ago
another question, the current way that I know how to build the project is to click the build button at the top of the window and go through the publish menu option, but the executable won't run if it's outside of that build folder by itself. How do I correctly build this application so that it's only the .exe file and that file holds all the necessary information?
Henkypenky
Henkypenky2y ago
publish is fine, you want to tick the option: Produce single file
Henkypenky
Henkypenky2y ago
Henkypenky
Henkypenky2y ago
but you will need to target a runtime
Mekasu0124
Mekasu0124OP2y ago
I don't have that option...
Mekasu0124
Mekasu0124OP2y ago
The way I do it is Build Tab > Publish Selection > Select Folder > Select Folder and then from there, I change the folder location to my own Builds folder in my root directory, and click finish then it takes me to that small window and I click publish. Am I doing it wrong? ohhhh thats because my Target runtime was set to portable
MODiX
MODiX2y ago
Henkypenky#4865
but you will need to target a runtime
Quoted by
React with ❌ to remove this embed.
Henkypenky
Henkypenky2y ago
when
Mekasu0124
Mekasu0124OP2y ago
absolutely. I just realized I could make multiple profiles, so inside of my builds folder I made sub folders, WindowsBuilds, LinuxBuilds, and MacBuilds so that I could set each folder to each specific profiles run time 😛 tyvm
Want results from more Discord servers?
Add your server