I want to copy an existing .xml document inside of my bin/debug/ project Folder and create a new XML document being just a copy with an different name.
Here is what i have tried so far:
XDocument ReleasesXML;
if (XDocument.Load(id + ".xml") == null)
{
XDocument Version1 = XDocument.Load("SourcefileReleases.xml");
ReleasesXML = new XDocument(Version1);
}
else
{
ReleasesXML = XDocument.Load(id + ".xml");
}