Export (0) Print
Expand All

ICodeCompiler.CompileAssemblyFromFileBatch Method

Compiles an assembly from the source code contained within the specified files, using the specified compiler settings.

Namespace:  System.CodeDom.Compiler
Assembly:  System (in System.dll)

[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
CompilerResults CompileAssemblyFromFileBatch(
	CompilerParameters options,
	string[] fileNames


Type: System.CodeDom.Compiler.CompilerParameters

A CompilerParameters object that indicates the settings for compilation.

Type: System.String[]

The file names of the files to compile.

Return Value

Type: System.CodeDom.Compiler.CompilerResults
A CompilerResults object that indicates the results of compilation.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

© 2015 Microsoft