How to Hide gif or mp3 files in my project?

后端 未结 4 455
囚心锁ツ
囚心锁ツ 2020-12-19 17:39

I have a C# project with some gif and mp3 files

how I can combine those files within my project?

(I don\'t want them to be visible to users)

4条回答
  •  温柔的废话
    2020-12-19 18:12

    Add them as embedded resources and they'll be compiled into the dll.

    First add them to the project, by just dragging them to the solution explorer, then go to their properties to change their build action to embedded resources.

提交回复
热议问题