using System.IO; // make sure the file's properties are: //Build Action: Content //Copy to Output Directory: Copy if newer string filePath = (new FileInfo("ContainingFolder/fileName.txt")).FullName;