[英]Deploy To Google Cloud Compute VM With Visual Studio
Currently, I'm stuck unable to Publish To Google Cloud from Visual Studio.目前,我无法从 Visual Studio 发布到 Google Cloud。 My compute engine VM is up and running, and I've successfully added and configured the Google Cloud Tools extension in Visual Studio.我的计算引擎 VM 已启动并正在运行,我已在 Visual Studio 中成功添加和配置 Google Cloud Tools 扩展。 I can see that everything populates properly in the settings when I select the publish to google cloud option including my project id and VM instance.当我 select 发布到谷歌云选项包括我的项目 ID 和 VM 实例时,我可以看到设置中的所有内容都正确填充。 VM login credentials are also good. VM 登录凭据也很好。
When I try to actually publish my asp.net website, I just get the generic error:当我尝试实际发布我的 asp.net 网站时,我只收到一般错误:
Publishing [My Project] to Compute Engine.将 [我的项目] 发布到 Compute Engine。 Failed to publish project [My Project].无法发布项目 [我的项目]。
I know I'm not the first to experience this, but I searched like crazy to find a solution to no avail.我知道我不是第一个遇到这种情况的人,但我疯狂地寻找解决方案却无济于事。
I answer the same problem here, take a look, please.我在这里回答同样的问题,请看一下。
Can't publish ASP.NET 6.0 website to Google Cloud Platform using Compute Engine: "Failed to publish project MyProject" 无法使用 Compute Engine 将 ASP.NET 6.0 网站发布到 Google Cloud Platform:“无法发布项目 MyProject”
I hope it helps!我希望它有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.