开发者

Preventing Visual Studio 2010 from embedding resources (images) into exe file

开发者 https://www.devze.com 2023-02-07 12:24 出处:网络
I add new image file into project by clicking Add Resource -> Add Existing File... After that i change Persistence to \"Linked at compile time\" from Properties.

I add new image file into project by clicking Add Resource -> Add Existing File... After that i change Persistence to "Linked at compile time" from Properties. My problem is that开发者_开发技巧 all of those files getting embedded into final exe file. I wish to create small exe file that load those images during execution from Resource folder. How can I do that?


Don't put the images into the resource file. Rather put them in your solution and mark them as "content". then when you open them, open them with normal file operations.

0

精彩评论

暂无评论...
验证码 换一张
取 消