System.Runtime.Remoting.MetadataServices.MetaData.ConvertCodeSourceFileToAssemblyFile Method

Compiles a specified code source file into a runtime assembly file.

Syntax

public static void ConvertCodeSourceFileToAssemblyFile (string codePath, string assemblyPath, string strongNameFilename)

Parameters

codePath
The path to the file that contains the source code.
assemblyPath
The location where the new run-time assembly is generated.
strongNameFilename
The strong name to compile into the new assembly. Can be string.Empty.

Remarks

For additional information on strong names, see Strong-Named Assemblies.

Note:

If a file with the specified name already exists, it is overwritten.

Requirements

Namespace: System.Runtime.Remoting.MetadataServices
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0