Skip to content

Errors to deploy a C# function to Function App resource #23

@skylerah

Description

@skylerah

Ran up against this when trying to get the workshop started for the first time via ./serverless-apim-setup.sh:

Output results will be saved to serverles-apim-setup.log file ...

  • Creating serverless-sample7728 Resource Group ...
  • Creating serverlesssample7728 Storage Account ...
  • Creating serverless-sample7728 Application Insights Service ...
  • Application Insights Instrumentation Key: "7dce2b6f-4ab7-41bb-981f-8ae1e3f8ab4e"
  • Creating serverless-sample-products7728 Function App ...
  • Creating serverless-sample-reviews7728 Function App ...
  • Creating serverless-api7728 API Management [Consuption Plan] ...
    This command group is in preview. It may be changed/removed in a future release.
  • Deploying serverless-sample-products7728 to serverless-sample-products7728 Function App ...
    Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell]
    You're trying to publish to a non-v2 function app from v2 tooling.
    You can pass --force to force update the app to v2, or switch to v1 or v3 tooling for publishing
  • Deploying serverless-sample-reviews7728 to serverless-sample-reviews7728 Function App ...
    You're trying to publish to a non-v2 function app from v2 tooling.
    You can pass --force to force update the app to v2, or switch to v1 or v3 tooling for publishing
  • Attaching App Insights to Aplication Management Instance ...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 724 100 554 100 170 636 195 --:--:-- --:--:-- --:--:-- 832
    ==============================================================

Done! Check your log information on serverless-apim-setup.log.

==============================================================

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions