Hi All,

I am struck with deploying a project on different machine. Actuallu i created a windows service which will be using a c# console application in my local machine. and for this purpose i read a XML file in the C# console Application from "C:\test1.xml", but as i will be deploying it i should change this local path, but am not able to give Server.MapPath(".").

So is there any other way of achieving this.

String Path = "XMLFile/test1.xml";

XmlTextReader Reader = new XmlTextReader(Path);

please help me out, I am tatally bew to the deployment.

Thank you.