Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

dotnet pack multiple projects into one package

$
0
0

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?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>