How to Hide gif or mp3 files in my project?

后端 未结 4 464
囚心锁ツ
囚心锁ツ 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:00

    You should just be assigning them as resources. If you bring up the Properties panel in VS, make sure your build action is set to Resource and Copy to Output Directory is set to Do not copy. You can also manage resources from within the project properties in the resources tab.

提交回复
热议问题