I'm making a converter from SSRS to Telerik Reporting and then using reflection to write out the source code of the .Designer.cs file.
I'm reading the CodeDom attributes with Reflection to control the output, but is there any way to invoke CodeDom to do the serialization from the given object in Memory?
How to I invoke CodeDom serialization?
Do I need to create an DesignerHost for WebForms? Do I need to create a DesignerSerializationManager and how? If I can serialize the Report, will it transverse the CodeDom if visibility is CONTENT or do I have to do this manually?
In short, I want to programmatically regenerate the Designer.cs from an object in memory. http://labs.kaliko.com/2010/10/regenerate-aspxdesignercs-file.html
Thanks