0
votes

I am new to Azure Functions and trying to create a sample function to send/insert a message into Queue & Table storage.

I am using Visual Studio 20117 15.3.5 Professional edition (currently I am on trail version)

I am able to create a function and working fine in local, the issue is when I publish the function from Visual Studio to Azure its not copying/function.json is missing out bindings

see bellow screen shots

Visual Studio Code: Visual Studio Code

After Publish to Azure, Function.json file: After Publish to Azure Function.json file

1

1 Answers

1
votes

When publishing from VS, The output bindings are captured in the compiled binary (based on the attributes you see in your code), and have no need to exist in function.json. Only the triggers show up there, as they are needed to make the triggering infrastructure work.

Generally, you should ignore this file when dealing with VS deployments. Things will work correctly and you should view this file as an implementation detail.