Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
935
Toolbar converts tool linked images to embedded image resources
posted

Hello,

I am using an ultraToolbarManager with various tools. I set the image for these tools to an image in a shared resource project linked to the project containing the toolbar. This provides designer access to the shared images. When I set the image, I can inspect the Designer code and the image is linked. (appearance57.Image = global:: my shared project.my resx file.imagefile.) When the project with the tool bar is built, all these linked resources are converted into embedded resources in the resx of the control. The shared resources are used to efficiently manage images and making local copies is not desirable. The images in a local Project.Resources.resx file will remain as links so the compile process seems to recognize local resx files but not resx files in another project.

Is there some way to prevent this behaviour that embeds the images in the local resx of the control? (Likely the easiest way to sandbox this is to set up two projects and manually edit the designer generated code to link to an image in the second project. Then build.)

Wendy