Partilhar via


AL.SourceModules Property

Definition

Gets or sets the modules to be compiled into an assembly.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ SourceModules { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
public Microsoft.Build.Framework.ITaskItem[] SourceModules { get; set; }
member this.SourceModules : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property SourceModules As ITaskItem()

Property Value

The modules to be compiled into an assembly.

Remarks

The modules will be listed in the manifest of the resulting assembly, and will still need to distributed and available in order for the assembly to load. The items passed into this parameter may have additional metadata called Target, which specifies the path and filename to which the task copies the file, after which it compiles this new file into the assembly. For more information, see the documentation for Al.exe (Assembly Linker). This property corresponds to the list of modules passed into Al.exe without a specific switch.

Applies to