I have a problem with resource files.
I have a solution with two projects. The first project contains ImageResource.resx
file with the images that I use. Every Form
in this project can access this file from the designer. But I can see in the designer ImageResource.resx
file to use it from second project (Reference to second project is present).
I have added the ImageResource.resx
file as a link to my second project. And I saw it in the designer! But when I use an image from this resource in the second project Visual Studio modified my original file (It sets the namespaces, and other..) and my solution breaks. Also Visual Studio tells me that ImageResource.resx
is present in two dll's first_project.dll
and second_project.dll
Can anybody help me with How to correctly use shared resources between projects?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…