Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Have you seen this post:
http://labs.episerver.com/en/Blogs/Allan/Dates/2009/8/Codemania-Run-EPiServer-CMS-in-the-Console/
Hi,
I'm wondering how to approach the export process for an EpiServer site when using an MS Build custom task. (I'm testing in a WinForms app)
I have some code that exports in a web page, but when I transfer it to the winforms app, I get an error :"Page transfer has to have a class factory to work with!"
Any suggestions would be appreciated, the code is below...
Thanks,
Andrew
ps: I've copied the web.config of the site into the test app and renamed it app.config
// Add pages to the export package, here alla pages below the startpage PageReference pr = new PageReference(3); Exporter.SourceRoots.Add(new ExportSource(pr, ExportSource.RecursiveLevelInfinity));
// Export all pages Exporter.Export();
// Close the exporter Exporter.Close();
// Close the out file Exporter.Stream.Close();