Search code examples
exejetbrains-iderider

Change app icon of exe in JetBrains Rider


I searched the IDE and online but didn't find anything so I'm asking:

Is there any way to change the application icon of the executable file for the current project in JetBrains Rider?


Solution

  • For now, Rider doesn't have UI for that, but you can do it from code. Press F4 on a project or Select "Edit 'YourProjectFile'" from the right-click menu to edit the project file and add these lines into the Project element:

    <PropertyGroup>
        <ApplicationIcon>YourIcon.ico</ApplicationIcon>
    </PropertyGroup>
    

    YourIcon.ico is the project directory based path where your icon is located.