1. Get location of the version of .NET and type of platform (e.g. 64 bit). A typical example, might be: C:WindowsMicrosoft.NETFrameworkv4.0.30319.
In your C# application code, the following will return the location:
System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
2. Syntax of type attribute in config file.
type="<TypeFullName>, <AssemblyName>, <Other assembly properties>"
--------------------------------------------------------------------
<configuration>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" compilerOptions="/optimize" warningLevel="1" />
</compilers>
</system.codedom>
</configuration>
--------------------------------------------------------------------