The places where you are reading application files like a settings.xml file should be accessed with the following path:
System.AppDomain.CurrentDomain.BaseDirectory+"\\settings.xml"
That creates a path that will work independent of the working directory the exe is acting in.