|
|
@ -23,7 +23,6 @@ namespace ICSharpCode.Build.Tasks |
|
|
|
[Output] |
|
|
|
[Output] |
|
|
|
public ITaskItem[] OutputAssemblies { get; set; } |
|
|
|
public ITaskItem[] OutputAssemblies { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ITaskItem[] AssemblyFiles { get; set; } |
|
|
|
public ITaskItem[] AssemblyFiles { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
[Output] |
|
|
|
[Output] |
|
|
@ -52,6 +51,7 @@ namespace ICSharpCode.Build.Tasks |
|
|
|
|
|
|
|
|
|
|
|
// mark mscorlib as copy local=false
|
|
|
|
// mark mscorlib as copy local=false
|
|
|
|
List<ITaskItem> outputAssemblyFiles = new List<ITaskItem>(); |
|
|
|
List<ITaskItem> outputAssemblyFiles = new List<ITaskItem>(); |
|
|
|
|
|
|
|
if (this.AssemblyFiles != null) { |
|
|
|
foreach (ITaskItem item in this.AssemblyFiles) { |
|
|
|
foreach (ITaskItem item in this.AssemblyFiles) { |
|
|
|
if (string.IsNullOrEmpty(item.GetMetadata("Private"))) { |
|
|
|
if (string.IsNullOrEmpty(item.GetMetadata("Private"))) { |
|
|
|
if (item.ItemSpec.EndsWith("\\mscorlib.dll", StringComparison.OrdinalIgnoreCase)) { |
|
|
|
if (item.ItemSpec.EndsWith("\\mscorlib.dll", StringComparison.OrdinalIgnoreCase)) { |
|
|
@ -60,6 +60,7 @@ namespace ICSharpCode.Build.Tasks |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
this.OutputAssemblyFiles = outputAssemblyFiles.ToArray(); |
|
|
|
this.OutputAssemblyFiles = outputAssemblyFiles.ToArray(); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|