I have a dotx file un my Web PAge, I created a folder called "Templates" (all inside my Vs project) and I added this file inside.
I would like to get the full path with code in order to dont worry about paths when I publish the page.
I have tried code like
string path = Server.MapPath("file.dotx");
System.IO.FileInfo file = new System.IO.FileInfo(path);
but it doesn work because it gives me a wrong folder.