C# 4.0 compiler version for CSharpCodeProvider

Posted by scope-creep on Stack Overflow See other posts from Stack Overflow or by scope-creep
Published on 2010-05-25T01:05:55Z Indexed on 2010/05/25 1:11 UTC
Read the original article Hit count: 849

Filed under:
|

I'm using the usual

CSharpCodeProvider codeProvider = new CSharpCodeProvider(new Dictionary<String, String> { { "CompilerVersion", "v3.5" } });

for the 3.5 compiler for dynamic code compilation. I'm assuming the 4.0 compiler just v4.0?

Bob.

© Stack Overflow or respective owner

Related posts about compiler

Related posts about c#4.0