How to get directory of a recursive package #13439
Unanswered
MikeRosoft
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Scenario: I have a project which references several NuGet packages (using
<PackageReference>
directives). Those packages themselves reference other packages. I need to find the directory of some of the recursively included packages (reason: I am building a Wix MSI custom action, and the packages contain some native DLL files which for some reason don't get packed into the custom action). How can I do that? It seems to me that the only way is to directly reference the recursive package (<PackageReference Include="RecursivePackage" Version="ReferencedVersion" GeneratePathProperty="true" />
), but that will fix the package version and cause a conflict if I update the referencing package and the version of the recursive package is changed.Beta Was this translation helpful? Give feedback.
All reactions