I have a azure function application that references another console project(MyConsoleApp) as "project Reference" when i publish the Azure function application, The console project is compiled and placed out side of the bin folder. How to make MyConsoleApp.exe file is copied to bin folder while publishing the Azure Function application?
Here is the VS project structure
Publish Output: