In the class library, I have a file that is installed to be copied to the output directory in NewFolder1/HTMLPage1.htm.
I tried this:
var foo = File.ReadAllText("NewFolder1/HTMLPage1.htm");
But the error is:
ould not find a part of the path 'C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\NewFolder1\HTMLPage1.htm'.
How can I read this file?
source
share