Skip to content

Including private local reference in package #121

Closed Answered by kzu
RichardD2 asked this question in Q&A
Discussion options

You must be logged in to vote

Since you're already specifying the full file path in the Reference, as well as its filename, I'm not sure I understand why that would be a problem for packaging. To avoid repetition, you could just transform the Reference item into a PackageFile, like

<PackageFile Include="@(ReferencePath -> '%(HintPath)')" PackagePath="lib/.../%(Filename)%(Extension)" />

Or the like. That's plain MSBuild, though, not Nugetizer-specific.

HTH

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kzu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants