NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeCompiler.CompileAssemblyFromFile

Creates an assembly based on options, with the contents of fileName.

[Visual Basic]
Function CompileAssemblyFromFile( _
   ByVal options As CompilerParameters, _
   ByVal fileName As String _
) As CompilerResults
[C#]
CompilerResults CompileAssemblyFromFile(
   CompilerParameters options,
   string fileName
);
[C++]
CompilerResults* CompileAssemblyFromFile(
   CompilerParameters* options,
   String* fileName
) = 0;
[JScript]
function CompileAssemblyFromFile(
   options : CompilerParameters,
   fileName : String
) : CompilerResults;

Parameters

options
A CompilerParameters that indicates the options to compile with.
fileName
[To be supplied.]

Return Value

A CompilerResults that indicates the results of the compilation.

See Also

ICodeCompiler Interface | ICodeCompiler Members | System.CodeDOM.Compiler Namespace | CompilerParameters