Azure Functions .NET 8 – Files copied to bin but missing from publish ZIP (obj folder)
I'm working on an Azure Functions project targeting .NET 8
I have a Templates folder that I want to include in my deployment package.
Here is my .csproj configuration:
PreserveNewest
PreserveNewest
Never
PreserveNewest
PreserveNewest
Problem:
The
Templates(including the.docxfiles) folder is correctly copied tobin/Release/net8.0/However, it is missing from the publish output / ZIP package (generated under
objor during deployment)