I was trying to embed a Text File into my application in my Resources file. I was following this question post awhile back;

[How to embed a text file in a .NET assembly?](https://stackoverflow.com/questions/433171/how-to-embed-a-text-file-in-a-net-assembly)

I added my Text file into Resources.resx, but can't understand how to call it in code. As you can see the OP had the same problem and managed to get it working using `My.Resources.TEXTFILENAME` as opposed to the top answers suggestion of `Resources.TEXTFILENAME`. Unfortunately neither is being recognised in my application and I have tried adding usings but VS isn't suggesting any. Writing `Resources` by itself, it recognises it as a ResourceDictionary and FrameworkElement.Resources, but no text files... Any ideas?