Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 529
lukger Avatar asked Aug 01 '18 14:08

lukger


People also ask

How do I change the icon of an EXE file?

Right-click the original EXE file (not the copy you made) and choose “Open using Resource Hacker.” In the Resource Hacker window, select the “Icon” folder in the left pane. Click the “Action” menu and then select “Replace Icon.”

How do I show main menu in rider?

If you hide the main menu, you can still access it with the corresponding action: press Ctrl+Shift+A and search for main menu.


1 Answers

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.

like image 119
Mikhail Filippov Avatar answered Oct 20 '22 16:10

Mikhail Filippov