Skip to content

Manually including content in zip from dotnet lambda package #1776

Answered by normj
JohnYoungers asked this question in Q&A
Discussion options

You must be logged in to vote

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 the myfile.yaml is copied to the build directory but not the publish folder. To get the file in the publish folder you would use $(PublishDir).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JohnYoungers
Comment options

@normj
Comment options

Answer selected by JohnYoungers
@JohnYoungers
Comment options

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