azure-pipelines-tasks: DotNetCoreCLI - Pack missing doc & wierd usage

Note

This could be related to issue #9789

Required Information

Question, Feature?
Type: Feature / Cleaning Enter Task Name: DotNetCoreCLIV2

Environment

  • Server - Azure Pipelines
  • Agent - Hosted

Issue Description

DotNetCoreCLI@2 provide a documented way for packing, who is I think mispelling / hard to get into / easier to get lost.

Like:

- task: DotNetCoreCLI@2
  displayName: 'Pack - Manager'
  inputs:
    command: 'pack'
    projects: '$(Build.SourcesDirectory)/src/CM/CM.csproj'
    includesymbols: true
    includesource: true
    nobuild: true
    verbosityPack: 'normal'
    outputDir: '$(Build.StagingDirectory)'

projects won’t be used during pack cmd and will be override by searchPatternPack who is required but has a default. And it seem to have one alias packagesToPack who is not set or documented.

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 3
  • Comments: 18

Most upvoted comments

Was this fixed in the meanwhile?

I just lost several hours because of this bug. Could you emit a warning if projects is used in combination with pack and link to this issue @sachinma ?