microsoft/azure-pipelines-vscode

warn only for missing fields when required in context

efinder2 opened this issue · 1 comments

In some tasks there some properties are only required when other properties have a specific value. In a practical example the task IISWebAppManagementOnMachineGroup could be used. e. g. if IISDeploymentType is set to IISWebApplication the propterty AppPoolNameForWebsite is not required. So as a developer I have to ignore those hints, wich may be helpfull in other cases.

- task: IISWebAppManagementOnMachineGroup@0
  displayName: 'modify wep app '
  inputs:
    IISDeploymentType: 'IISWebApplication'
    ParentWebsiteNameForApplication: '$(WebsiteName)'
    AppPoolNameForApplication: '$(AppPoolName)'
    VirtualPathForApplication: "/api/"
    PhysicalPathForApplication: '$(wwwRootPath)/api/'

grafik

Hi @efinder2 thanks for the suggestion! We're working on higher priority issues now, but we'll get back to this one soon.