[英]Publishing to Azure Function from VS2022 failing without apparent reason
When trying to publish to an Azure function through Visual Studio 2022, I keep getting this, regardless of what I've tried:尝试通过 Visual Studio 2022 发布到 Azure function 时,无论我尝试过什么,我都会收到此消息:
Here's what I've done:这是我所做的:
I'm trying to deploy to a function app that's set to .NET 6, Consumption (serverless), on Linux. The "output log" and tmp file say nothing that helps at all.我正在尝试部署到 function 应用程序,该应用程序设置为 .NET 6,消耗(无服务器),在 Linux 上。“输出日志”和 tmp 文件没有提供任何帮助。
had this issue with an older version of VS 2022. Updating to the latest versions seemed to resolved.旧版本的 VS 2022 有此问题。更新到最新版本似乎已解决。 Also - check you're signed into your Microsoft account correctly.
此外 - 检查您是否已正确登录到您的 Microsoft 帐户。 If you click the account logo top right in VS 2022, make sure there are no prompts to re-enter credentials or similar.
如果您在 VS 2022 中单击右上角的帐户徽标,请确保没有提示重新输入凭据或类似内容。
So:所以:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.