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

How to generate a nupkg with all dlls of a csproj (including PackageReference and ProjectReference)?

$
0
0

Was looking in having all dlls from the main project in one package instead of one package per dll/library/cs project. Basically, need to package the content of the bin folder of the main project. The package should not

  • have dependencies as all are packed.
  • have any file content
  • be generated upon build

The need here is not having to pack for execution but to reference/use the code with LinqPad.

Context

Azure pipeline to build the package.CS standard/sdk projects: Platform is composed of a main project, multiple project references and package references.

Issue How to achieve the goal as it's not obvious?

I've tried different approaches but I can't get it to pack only the dlls.

What tips would you share to do so?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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