ILMerge Members

MSBuild

A wrapper for the ILMerge tool.


The following tables list the members exposed by ILMerge.

Public Constructors

  Name Description
Public method ILMerge Initializes a new instance of the ILMerge class.
Top

Public Properties

  Name Description
Public property AllowDuplicateTypes Gets or sets the names of public types to be renamed when they are duplicates.
Public property AllowZeroPeKind Gets or sets the flag to treat an assembly with a zero PeKind flag (this is the value of the field listed as .corflags in the Manifest) as if it was ILonly.
Public property AttributeFile Gets or sets the attribute assembly from whre to get all of the assembly-level attributes such as Culture, Version, etc. It will also be used to get the Win32 Resources from.
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (inherited from Task)
Public property Closed Gets or sets the flag to indicate whether to augment the list of input assemblies to its "transitive closure".
Public property CopyAttributes Gets or sets the flag to indicate whether to copy the assembly level attributes of each input assembly over into the target assembly.
Public property DebugInfo Gets or sets the flag to indicate whether to preserve any .pdb files that are found for the input assemblies into a .pdb file for the target assembly.
Public property DelaySign Gets or sets the flag to indicate whether the target assembly will be delay signed.
Public property ExcludeFile Gets or sets the file that will be used to identify types that are not to have their visibility modified.
Public property ExitCode Gets the returned exit code of the executable file. (inherited from ToolTask)
Public property HostObject Gets or sets the host object associated with the task. (inherited from Task)
Public property InputAssemblies Gets or sets the input assemblies to merge.
Public property KeyFile Gets or sets the .snk file to sign the target assembly.
Public property Log Gets an instance of a TaskLoggingHelper class containing task logging methods. (inherited from Task)
Public property LogFile Gets or sets a log file to write log messages to.
Public property OutputFile Gets or sets the target assembly.
Public property PublicKeyTokens Gets or sets the flag to indicate whether external assembly references in the manifest of the target assembly will use public keys (false) or public key tokens (true).
Public property TargetKind Gets or sets the indicator whether the target assembly is created as a library (Dll), a console application (Exe) or as a Windows application (WinExe).
Public property TargetPlatformDirectory Gets or sets the directory in which mscorlib.dll is to be found.
Public property TargetPlatformVersion Gets or sets the .NET framework version for the target assembly.
Public property Timeout Gets or sets the amount of time after which the task executable is terminated. (inherited from ToolTask)
Public property ToolPath Gets or sets the path of the executable file to run. (inherited from ToolTask)
Public property Version Gets or sets the version number of the target assembly.
Public property XmlDocumentation Gets or sets the flag to indicate whether to merge XML documentation files into one for the target assembly.
Top

Protected Properties

  Name Description
Family property EnvironmentOverride Gets the override value of the PATH environment variable. (inherited from ToolTask)
Family property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (inherited from Task)
Family property ResponseFileEncoding Gets the Encoding of the response file. (inherited from ToolTask)
Family property StandardErrorEncoding Gets the Encoding of the standard error stream of the task. (inherited from ToolTask)
Family property StandardErrorLoggingImportance Gets the MessageImportance with which to log errors. (inherited from ToolTask)
Family property StandardOutputEncoding Gets the Encoding of the standard output stream of the task. (inherited from ToolTask)
Family property StandardOutputLoggingImportance Gets the MessageImportance with which to log errors. (inherited from ToolTask)
Family property TaskResources Gets or sets the culture-specific resources associated with the task. (inherited from Task)
Family property ToolName Overidden. Gets the name of the executable file to run.
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method Execute Runs the exectuable file with the specified task parameters. (inherited from ToolTask)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method CallHostObjectToExecute Calls the host object to perform the work of the task. (inherited from ToolTask)
Family method ExecuteTool Creates a temporoary response (.rsp) file and runs the executable file. (inherited from ToolTask)
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method GenerateCommandLineCommands Overidden. Returns a string value containing the command line arguments to pass directly to the executable file.
Family method GenerateFullPathToTool Overidden. Gets the standard installation path of ILMerge.exe.
Family method GenerateResponseFileCommands Returns a string value containing the command line arguments to add to the response (.rsp) file before running the executable file. (inherited from ToolTask)
Family method GetResponseFileSwitch Returns the command line switch used by the executable file to specifiy a response (.rsp) file. (inherited from ToolTask)
Family method GetWorkingDirectory Returns the directory in which to run the executable file. (inherited from ToolTask)
Family method HandleTaskExecutionErrors Handles execution errors raised by the executable file. (inherited from ToolTask)
Family method InitializeHostObject Initializes the host object of the task. (inherited from ToolTask)
Family method LogEventsFromTextOutput   (inherited from ToolTask)
Family method LogPathToTool Logs the tool name and path to all registered loggers. (inherited from ToolTask)
Family method LogToolCommand Logs the starting point of the run to all registered loggers. (inherited from ToolTask)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Family method SkipTaskExecution Indicates whether task execution should be skipped. (inherited from ToolTask)
Family method ValidateParameters Indicates whether all task paratmeters are valid. (inherited from ToolTask)
Top

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.