Senin, 09 Agustus 2010
Programmatically Invoke the C# Compiler
Imagine you have just generated some code using a code generation technique, wouldn’t it be really cool to then programmatically call the C# language compiler and generate assemblies from the generated code? Let’s imagine we used an Xslt transformation to generate some code: XslCompiledTransform transform = new XslCompiledTransform(); transform.Load("Program.xslt"); transform.Transform
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar