I am trying to save a XAP file witch is basically like a zip file, and i can Archive and save it, but it adds to many folders?
I am using Ionic.Zip DLL to Archive my XAP file.
The file saves to my path, but when i open it up it has the folder users, then in there it has the folder Shaun, and in that folder a folder Documents, in the the folder FormValue then in side there it has my 3 files i zipped.
I need the Xap file only to contain the 3 files i zipped and not all the extra folders inside.
using (ZipFile zip = new ZipFile())
{
// add this map to zip
zip.AddFile("C://Users//Shaun//Documents//FormValue//" + property_details_locality_map);
zip.AddFile("C://Users//Shaun//Documents//FormValue//data.xml");
zip.AddFile("C://Users//Shaun//Documents//FormValue//dvform.dvform");
zip.Save("C://Users//Shaun//Documents//FormValue//NewValuation.xap");
}