I'm creating a site provisioning app and have an xml file with all the pertinent information regarding the files i'll be uploading to the Host Web. I'm trying to load this xml by doing XDocument.Load("/{file location in app}") and it errors out
every time. I've even tried HttpContext.Curent.Server.MapPath() but the HttpContext.Current is null. Any ideas on how to get this to work?
↧