Is it possible to embed a text file into Visual C++ static library
Posted on 2009-05-04
I'm usual Visual Studio 2005.
When compiling a Visual C++ executableI can embed a text file when compiling by setting the project properties as:
Configuration properties -> General -> CLR Support->CLR Support enabled
Link -> Input -> Embed managed Resource -> name of text file added
If I am generating a Visual C++ static library, can I also embed a text file in it when compiling? If yes, how do I do it? The properties for a static library project allows me to enable CLR support but I can't find any property such as "Embed Managed Resource" that allows me to include the text file name that I want to embed.