Reputation: 24426
I'm writing a desktop application. It would need to generate c# code on client machines.
I thought of using CodeDOM (complex) or simple string manipulations (fragile). What else? Which way is recommended?
Upvotes: 2
Views: 382
Reputation: 1690
If you mean run dynamic code, then: CS-Script is the most mature solution. With CS-Script you could even roll your own template based, custom code generator, like the scripting used by MyGeneration.
Upvotes: 0