Hi,
If you add the file into your project this file is copied on the solution
folder and not on the "Bin" folder, therefore if you need to read it you need
to copy it on the BIN folder or add a PostBuild event to copy the file
(usually what I do).
Then to read the file you can use the FileStream
using (StreamReader ReadStream = System.IO.File.OpenText("yourFile.txt"))
{
string Content = ReadStream.ReadToEnd();
}
Cheers