Skip to content

Need to move one of my files to the tools directory #103

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

You must be logged in to vote

Sure thing, just build the full path you want to have:

<PackageFile Include="**\bin\**\*.dacpac" PackagePath="tools\%(RelativeDir)%(Filename)%(Extension)" />

Note that since you're using double ** I'm not sure what the %(RelativeDir) metadata will be, but you can build the actual final location for every item you want to include. This is plain MSBuild syntax 👍

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@verquepasa
Comment options

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