Posted: 28 Mar 2018 2:14 EDT Last activity: 6 Nov 2018 20:02 EST
Getting the dynamic path for config XML file
I have created an XML file and trying to get the values for nodes created. But to load the XML I have to provide path for my XML file which is system specific which is not helping me to achieve my whole purpose of creating this XML file. Could anyone help me understand how to pass my XML file path which is not machine dependent.
Need a clarirication on this old post, if we are using this solution, the project need to be run once to create the directory in appdata\local for the given project. This is a problem when I am deploying the project for runtime. To modify the XML we need to run it once to create the directory for project path. But the first run in new machine will run with default values. Do we have something to avoid this.