In my global project resource file I embed various images used in forms and controls. When I am using the Designer, and setting an image to a control, I always use the image in the global resource.
I don't know what is triggering it (and it doesn't trigger for all images/controls) but the Designer is locally embedding the same image into the Form.resx file. This is making the executable bloated. I just went through all of the .resx files in the project and cleaned out all the duplicates (and then had to go back into the Designer for each of the forms/controls and reset their Image reference to the global one). This removed several MB of duplicate image files, and made the compile exe much smaller.
Anyway, my question is there any VS setting, or Form property that I can set that prevents the VS Designer from locally embedding image files (as I want to it always use the global project resource)? I could go through and remove all the images from all
the controls in the designer and then in the code file manually setting the image to each control, but I am trying to avoid that drastic of solution - especially since I like being able to see what the image is directly in the designer (without having to run
the application to be able to see what it looks like).