How to add PNG resource in Visual Studio 2010?

后端 未结 2 495
有刺的猬
有刺的猬 2020-12-09 16:00

I have a PNG (i.e. a compressed image) that I\'d like to include in my assembly (i.e. application).

How to do it?

Additional information:

I tried ad

2条回答
  •  一整个雨季
    2020-12-09 16:24

    The only way I could make this work, is by removing the file extension from the PNGs. That way Visual Studio doesn't recognize the files as images, and leaves them untouched.

提交回复
热议问题