C#C
C#4y ago
swagrid

Change output directory of nuget package

Usually, nuget package assemblies and dependencies are copied to OutDir during build, e.g. bin\Debug\net6.0. Is it possible to
  1. put all the assemblies and dependencies of a specific nuget package in a different folder (e.g. OutDir/sub) without having to fall back to manually Copy them in a target.
  2. configure that output directory form within the nuget package itself (i.e. via some props or targets)
Was this page helpful?