I have added an XML file in my project and I am using it as database. I have set it as embedded resource. Everything works fine till I am in my development environment.
But when I publish it and install it in my machine, the XML file doesn't get copied to the installation path automatically and so it starts giving error that it cannot find the file.
What is the correct way to use XML file to store and retrieve data in a windows application and what am I am doing wrong?
Thanks in advance!