This documentation is archived and is not being maintained.
MetaData::ConvertCodeSourceFileToAssemblyFile Method
Visual Studio 2010
Compiles a specified code source file into a runtime assembly file.
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
public: static void ConvertCodeSourceFileToAssemblyFile( String^ codePath, String^ assemblyPath, String^ strongNameFilename )
Parameters
- codePath
- Type: System::String
The path to the file that contains the source code.
- assemblyPath
- Type: System::String
The location where the new run-time assembly is generated.
- strongNameFilename
- Type: System::String
The strong name to compile into the new assembly. Can be String::Empty.
For additional information on strong names, see Strong-Named Assemblies.
Note |
|---|
If a file with the specified name already exists, it is overwritten. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
Note