I am creating an Xml file and I want to save it in a specified folder inside my project within the solution where I can access it in the Solution Explorer.
How can I specify the path so that a folder is created and the xml file saved inside it?
As it is at the moment it creates the file in the root directory of my project and I cannot view it in Solution Explorer.
XmlSerializer serializer = new XmlSerializer(typeof(BoxSet));
TextWriter textWriter = new StreamWriter("../../Box.xml");
Sorry, still a newbie...am I missing something.?