Tasks\MsDeploy\MSDeploy.cs (9)
579if (Source != null)
580taskItem = Source[0];
968AddDestinationProviderSettingToObject(commandLine, "-source:", Source, m_strValueQuote, null, this);
1057if (Source is not null && Source.GetLength(0) > 1)
1059Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.MSDEPLOY_InvalidSourceCount, Source.GetLength(0)), null);
1082if (Source == null || Source.GetLength(0) == 0)
1105Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.MSDEPLOY_InvalidVerbForTheInput, Verb, Source?[0].ItemSpec, (fNullDestination) ? null : Destination?[0].ItemSpec), null);