Search code examples
c#.netxmlapp-configslowcheetah

importing xml file and SlowCheetah


I want to import an xml file inside of an element in my app.config file but the only method which works for that task causes SlowCheetah to fail with the following error:

The "SlowCheetah.Tasks.TransformXml" task failed unexpectedly. System.UriFormatException: Invalid URI: The URI is empty.

The import method I tried was to declare a parsed external entity and then use it in my element declaration as explained in the top answer to this question: Can we import XML file into another XML file?


Solution

  • XDT (the tech that drives web.config transforms) does not support XML entities. If you'd like this support the best thing to do is add an entry at http://aspnet.uservoice.com/.