.netintellij-ideaembedded-resourcerider

How to set a file as an Embedded Resource in Rider IntelliJ?


I would like to set some of my files as Embedded Resources.

There are tutorials on the easy task like that, only for Visual Studio, but not for Rider.

Here is a question about Rider with no answer: https://www.reddit.com/r/Jetbrains/comments/dw93rf/rider_add_file_a_embedded_resource/


Solution

  • You've got to right-click on the file (or the selected files - with Ctrl+A or Ctrl + left-click)

    enter image description here

    And then press Properties (or shortcut: Alt+Enter) and set Editable/Build action to EmbeddedResource. enter image description here