I\'m trying to include a text file that contains some static data that I need to read in when the app starts up. I\'ve added the file and marked the Build Action to \"Resour
You can use the System.Windows.Application.GetResourceStream method:
System.Windows.Application.GetResourceStream
var resource = System.Windows.Application.GetResourceStream( new Uri("textfile.txt",UriKind.Relative));
should do the trick