question

Kim Strasser avatar image
Kim Strasser asked

I get many error messages when I try to deploy my Azure functions project

I get this message in line 5 in function.json:

Missing property "direction".
{
  "generatedBy": "Microsoft.NET.Sdk.Functions-3.0.7",
  "configurationSource": "attributes",
  "bindings": [
    {
      "type": "httpTrigger",
      "methods": [
        "post"
      ],
      "authLevel": "anonymous",
      "name": "req"
    }
  ],
  "disabled": false,
  "scriptFile": "../bin/Myazurefunctions.dll",
  "entryPoint": "My.Functions.Playfabfunctions.MakeApiCall"
}

What is missing? What is wrong with my Azure function?

In addition, I get many other error messages. What is wrong? What should I change in my Azure functions project?

CloudScript
azureerrors.jpg (353.5 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Rick Chen avatar image
Rick Chen answered

Could you please tell me how you set up and deploy this project step by step? Did you follow this document Quickstart: Writing a PlayFab CloudScript using Azure Functions ?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kim Strasser avatar image Kim Strasser commented ·

I created a new project and added everything from the Quickstart document and finally I added this line in my csproj file and now it works.

<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.