I'm developing a Windows service and I have added a special configuration XML file into it.
Data in that file can be read by the service when debugging with Visual Studio.
But when the file is built, that XML file is not added to the build folder.
Also after installing the service, It is starting from System32 (default location)
It gives an error (Cannot find the file C:\Windows\System32\ServerAgent.xml)
File is not added to the installation folder.
How to add my XML file to the build folder and installation location?
Thanks in advance.