.resx file misbehaves when linking to files


I have tried to use a Resources File in NET Core (RC2). I’ve added a text file inside the resx named “TextFile.txt”. When I use Resources.MyFile, instead of getting the contents of the file I get a the equivalent of calling typeof(string). What’s going on there?

.NET Foundation Website | Blog | Projects | Code of Conduct