Manually including content in zip from dotnet lambda package
#1776
-
Our project references a nuget library that contains its own Given these aren't technically part of the project, I think |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Not sure why they targets wouldn't be honored. The |
Beta Was this translation helpful? Give feedback.
That was an interesting issue. Like I said the tooling eventually does
dotnet publish --output <some-folder>
. That folder set by the--output
is not the same as$(OutDir)
. So in your example themyfile.yaml
is copied to the build directory but not the publish folder. To get the file in the publish folder you would use$(PublishDir)
.