X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FMicrosoft.Build.Tasks%2FMicrosoft.Build.Tasks%2FAL.cs;h=38e059426ef62f9bc7d4c031d7b34ba0b9439fb3;hb=aeab59ba3a652692d93d0bf25c3cc6cb32d7d8a9;hp=b063aaf5e41d9a510bdaf20dc1d80d843f17be0b;hpb=496dfbf9ec0fd3143e5dd560a863d916e56a52b8;p=mono.git diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/AL.cs b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/AL.cs index b063aaf5e41..38e059426ef 100644 --- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/AL.cs +++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/AL.cs @@ -51,23 +51,27 @@ namespace Microsoft.Build.Tasks { commandLine.AppendSwitchIfNotNull ("/baseaddress:", BaseAddress); commandLine.AppendSwitchIfNotNull ("/company:", CompanyName); commandLine.AppendSwitchIfNotNull ("/configuration:", Configuration); - commandLine.AppendSwitchIfNotNull ("/copyright:", Copyright); commandLine.AppendSwitchIfNotNull ("/culture:", Culture); - if (DelaySign == true) - commandLine.AppendSwitch ("/delaysign"); + commandLine.AppendSwitchIfNotNull ("/copyright:", Copyright); + if (Bag ["DelaySign"] != null) + if (DelaySign) + commandLine.AppendSwitch ("/delaysign+"); + else + commandLine.AppendSwitch ("/delaysign-"); + commandLine.AppendSwitchIfNotNull ("/description:", Description); if (EmbedResources != null) foreach (ITaskItem item in EmbedResources) - commandLine.AppendSwitchIfNotNull ("/embedresource:", item.ItemSpec); + commandLine.AppendSwitchIfNotNull ("/embed:", item.ItemSpec); commandLine.AppendSwitchIfNotNull ("/evidence:", EvidenceFile); commandLine.AppendSwitchIfNotNull ("/fileversion:", FileVersion); commandLine.AppendSwitchIfNotNull ("/flags:", Flags); - if (GenerateFullPaths == true) + if (GenerateFullPaths) commandLine.AppendSwitch ("/fullpaths"); commandLine.AppendSwitchIfNotNull ("/keyname:", KeyContainer); commandLine.AppendSwitchIfNotNull ("/keyfile:", KeyFile); if (LinkResources != null) foreach (ITaskItem item in LinkResources) - commandLine.AppendSwitchIfNotNull ("/linkresource:", item.ItemSpec); + commandLine.AppendSwitchIfNotNull ("/link:", item.ItemSpec); commandLine.AppendSwitchIfNotNull ("/main:", MainEntryPoint); if (OutputAssembly != null) commandLine.AppendSwitchIfNotNull ("/out:", OutputAssembly.ItemSpec); @@ -267,4 +271,4 @@ namespace Microsoft.Build.Tasks { } } -#endif \ No newline at end of file +#endif