Codehelp
Codehelp

Reputation: 4747

Publishing Azure Function from VS 2017 does not create csx file

I created a simple Azure Function using VS 2017 to test the tooling.

This is the project:

enter image description here

Here is the publish screen:

Publish screen in VS 2017

Clicking on Publish button does not show any progress but I can see the new Function at the Portal. However the published Function has only the function.json and no csx file.

In Portal

What am I doing wrong?

Thanks in advance. Regards.

Upvotes: 2

Views: 614

Answers (1)

Mikhail Shilkov
Mikhail Shilkov

Reputation: 35134

This is by design. VS2017 (15.3) won't create csx script, but instead will deploy your code as precompiled function. You can tell that precompiled function is used by looking at scriptFile and entryPoint attributes in your function.json.

By the way, Publish result can be seen in Output tab of Visual Studio.

Upvotes: 7

Related Questions