Compiler Constructor
Collapse the table of content
Expand the table of content

Compiler.Compiler Constructor

Creates an instance of a Compiler initialized to the provided values.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public Compiler (
	string compilerOptions,
	string extension,
	string language,
	string type,
	int warningLevel
public Compiler (
	String compilerOptions, 
	String extension, 
	String language, 
	String type, 
	int warningLevel
public function Compiler (
	compilerOptions : String, 
	extension : String, 
	language : String, 
	type : String, 
	warningLevel : int
Not applicable.



Lists additional compiler-specific options to pass during compilation.


Provides a semicolon-separated list of file-name extensions used for dynamic code-behind files. For example, ".cs".


Provides a semicolon-separated list of languages used in dynamic compilation files. For example, "c#;cs;csharp".


Specifies a comma-separated class/assembly combination that indicates the .NET Framework class.


Specifies compiler warning levels.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2016 Microsoft