简体   繁体   English

无法创建 C# Azure Function。 VS 代码

[英]Can't Create C# Azure Function. VS Code

When I try to create a new Azure Function in VS Code on Mac, I get to choose the programming language.当我尝试在 Mac 上的 VS Code 中创建新的 Azure Function 时,我可以选择编程语言。 But when I select C#, nothing happens.但是当我 select C# 时,什么也没有发生。 I can't choose Runtime etc. after this.在此之后我不能选择运行时等。 All other languages are working fine.所有其他语言都可以正常工作。 What could this be?这可能是什么?

For any OS Environment like Windows, Mac OS, Linux - the prerequisites of working with the Azure Functions in Visual Studio Code were:对于 Windows、Mac OS、Linux 等任何操作系统环境 - 在 Visual Studio Code 中使用 Azure Functions 的先决条件是:

  • Visual Studio Code视觉工作室代码
  • Azure Functions Core Tools (v3 and v4 as v3 is required for .NET 3.1 and 5 and v4 is required for .NET Core 6). Azure Functions Core 工具(.NET 3.1 和 5 需要 v3 和 v4,.NET Core 6 需要 v4)。
  • Azure Tools, Azure Functions, Azurite extension in VS Code, Azure Storage Emulator for Windows Azure 工具、Azure 函数、VS Code 中的Azurite扩展、适用于 Windows 的 Azure 存储模拟器
  • Based on language used in Azure Functions, that language extension should be installed like根据 Azure Functions 中使用的语言,该语言扩展应该像这样安装

Example:例子:

  • For .NET, .NET 3.1 or 6 SDK and Runtime Packages.对于 .NET、.NET 3.1 或 6 SDK 和运行时包。
  • For Python Azure Functions, Python extension in VS Code and Python Packages.对于 Python Azure Functions、VS Code 和 Python 包中的 Python 扩展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM