gpt4 book ai didi

azure - 输出类型为类库的项目无法直接启动,VS 2022 中的 Azure Function

转载 作者:行者123 更新时间:2023-12-02 07:34:14 25 4
gpt4 key购买 nike

我最近将 VS 更新到了 2022。我的项目是 Azure Function App。

但是当我单击调试项时,出现以下错误。

A project with an Output Type of Class Library cannot be started directly 

In order to debug this project, add an executable project to this solution which
references the library project. Set the executable project as the startup project.

通常,当我的 Function 应用程序运行时,会出现提示屏幕。

可能是什么问题?

最佳答案

我成功了。似乎在安装过程中没有选择 Azure Development。

关于azure - 输出类型为类库的项目无法直接启动,VS 2022 中的 Azure Function,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70513242/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com