You must set the property Copy to Output Directoryin the file in Solution Explorer to transfer the file to the folder with your EXE.
Then you can write
xmlDoc.Load(Path.Combine(typeof(MyClass).Assembly, "file.xml"));
EXE .
EDIT. ASP.Net App_Data ( ),
xmlDoc.Load(Server.MapPath("~/App_Data/file.xml"));