EWSoftware.CodeDom Namespace Documentation
CSharpCodeProviderWithDocsCompileAssemblyFromFile Method |
Compiles an assembly from the source code contained in the specified files, using the specified compiler settings.
Namespace: EWSoftware.CodeDom
Assembly: EWSoftware.CodeDom (in EWSoftware.CodeDom.dll) Version: 2015.6.7.0
Syntax
public override CompilerResults CompileAssemblyFromFile( CompilerParameters options, params string[] fileNames )
Public Overrides Function CompileAssemblyFromFile ( options As CompilerParameters, ParamArray fileNames As String() ) As CompilerResults
public: virtual CompilerResults^ CompileAssemblyFromFile( CompilerParameters^ options, ... array<String^>^ fileNames ) override
abstract CompileAssemblyFromFile : options : CompilerParameters * fileNames : string[] -> CompilerResults override CompileAssemblyFromFile : options : CompilerParameters * fileNames : string[] -> CompilerResults
Parameters
- options
- Type: System.CodeDom.CompilerCompilerParameters
A CompilerParameters object that indicates the settings for the compilation. - fileNames
- Type: SystemString
An array of the names of the files to compile.
Return Value
Type: CompilerResultsA CompilerResults object that indicates the results of compilation.
Exceptions
Exception | Condition |
---|---|
NotImplementedException | Neither this method nor the CreateCompiler method is overridden in a derived class. |
See Also