Embedding resource files in Visual Studio

  1. Include the file in the project structure
  2. Select file and open properties window
  3. Set Build Action to Embedded Resource

Know more: