I have a build pipeline that is building multiple library files in a single solution. In the YML file I have the following task to package the dlls;
- task: DotNetCoreCLI@2
displayName: 'Create nuget packages'
inputs:
command: 'pack'
packagesToPack: 'Framework/**/*.csproj;!**/*.Test.csproj'
packDirectory: '$(Build.ArtifactStagingDirectory)/packages/nuget'
nobuild: true
versioningScheme: 'byBuildNumber'
This creates all my library files as seperate nupkg files. I would like them in one nupkg file.
Is this possible using dotnet pack
?