Gets or sets the file that will be used to identify types that are not to have their visibility modified.
Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Property ExcludeFile As ITaskItem |
| C# |
|---|
| public ITaskItem ExcludeFile { get; set; } |
| C++ |
|---|
| public property ITaskItem ExcludeFile sealed { ITaskItem get(); void set(ITaskItem value); } |
| J# |
|---|
| /** property */ public ITaskItem get_ExcludeFile(); /** property */ public void set_ExcludeFile(ITaskItem value); |
| JScript |
|---|
| public function get ExcludeFile() : ITaskItem public function set ExcludeFile(value : ITaskItem); |
Remarks
If an empty item group is provided, then all types in any assembly other than the primary assembly are made non-public.
Omit this parameter to prevent ILMerge from modifying the visibility of any types.
The contents of the file should be one . If the match fails, it is tried again with the assembly name (surrounded by square brackets) prepended to the type name. Thus, the pattern excludes all types in assembly from being made non-public. The pattern will match all types named in the namespace named no matter what assembly they are defined in.
Corresponds to command line option "/internalize".
The default value is .
See Also
Documentation version 1.0.0.0.