Since the Windows Installer service cannot be repaired, Rider can only be used to develop C#. But I encountered the problem of how to modify the final EXE file icon of the program. Baidu searched all the time but couldn't find it, so I had to search Bing International Edition, and then I found the correct answer on StackOverflow. If this is the first domestic solution, I hope it can help the majority of developers who use Rider.
This answer was originally found in: StackOverflow-Mikhail Filippov
Rider currently has no function or interface to modify program icons. The configuration file must be manually modified to set the icon.
Find the project .csproj
file and <PropertyGroup>
add it in the label
<ApplicationIcon>YourIcon.ico</ApplicationIcon>
Among them, it YourIcon.ico
is the ICO file that you put in the project directory or the program can find in the relative path and needs to be set as the program icon. Refer to other file names.