DotNetCoreCLI - Pack missing doc & wierd usage
See original GitHub issueNote
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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
DotNetCoreCLI@2 - .NET Core v2 task - Microsoft Learn
Use when command = pack. Configuration to Package. Default: $(BuildConfiguration). #packDirectory: '$(Build.ArtifactStagingDirectory)' # string.
Read more >Azure pipeline restore and pack - Stack Overflow
1 Answer 1 ... The documentation for dotnet pack clearly explains the behavior: You don't have to run dotnet restore because it's run...
Read more >DotNetCoreCLI@2 ignores projects on publish
I'm unable to publish a project within my solution: the following task successfully builds my project: - task: DotNetCoreCLI@2 displayName: 'Build ...
Read more >A Guide to Missing Publish Directory – Write it Down - IntelliTect
Finally, it uses the publish task to push the built artifacts as a pipeline artifact. Upon running this pipeline, the “Dotnet Publish” step...
Read more >Untitled
... bigquery golang insert · pack years of smoking calculator ... what did braddock use as motivation to help win his boxing matches...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 withpack
and link to this issue @sachinma ?