I am working on a VS Package using C# in VS 2010. I have added two C++ source files (templates) to a resources.resx file. They are stored in text file format and are returned as a C# string object (not the Byte[] format when stored as binary files).
Everything works just fine.
Today, however, I was looking closer at the properties of these two text files within Resources.resx and I noticed that there is an indication that they are linked, rather then embedded, so I began to worry as I need them to be embedded.
Before creating an issue here, in social.msdn, I wanted to confirm that they are, indeed, not in the VSP dll file, so I did a fresh compile and then moved the folder containing the two text files to the Recycle bin (did a 'soft' delete).
Oddly, upon testing the VS Package code, the two text files are still available, just like before deleting them. I even tried it after rebooting, but the two files are still available using the common method of getting resources using C# code.
They appear to be, in fact, embedded within the dll.
Is this the case, or have these two text files been cached somewhere else, external to the VS Package dll?
I just installed the VSIX package on the same computer for a different user than the development environment user, and it still works!!
If these two files are embedded, it seems contrary to what the documentation states, if I have read it correctly. If so, it makes me a very happy camper!
Thanks in advance for any light you can shed on this question.
Charles S. Cotton