In my C# code, I reference to an XML file \"file.xml\", which is in the same directory as the executable itself, using XmlDocument.
Try refering to your document by using
Application.StartupPath(@"\file.xml")