Method | Description | |
---|---|---|
CompileCSharp ( [ compilerParameters, [ code, [ manifest ) : void |
Compiles a string of C# code using the newest C# compiler available on the system.
|
Method | Description | |
---|---|---|
GetCSharpCompiler ( this compilerParameters, string manifestFilePath ) : CodeDomProvider |
Detects the best possible C# compiler version and instantiates it.
|
|
NewCSharpCodeProvider ( string version ) : CodeDomProvider |
public static CompileCSharp ( [ compilerParameters, [ code, [ manifest ) : void | ||
compilerParameters | [ | The compiler configuration (e.g. output file path). |
code | [ | The C# code to compile. |
manifest | [ | The contents of the Win32 manifest to apply to the output file. Will only be applied if a C# 3.0 or newer compiler is available. |
return | void |