Google cloud platform 如何为VisualStudio2019社区安装Google云工具?
我正在尝试通过在线扩展为VisualStudio2019安装谷歌云工具,但它不会显示在搜索结果中 我尝试手动安装扩展,但仍然无法安装,我安装了多个Visual Studio版本,其中一个版本是VS 2015,不受支持。所以我得到了这个错误Google cloud platform 如何为VisualStudio2019社区安装Google云工具?,google-cloud-platform,visual-studio-2019,Google Cloud Platform,Visual Studio 2019,我正在尝试通过在线扩展为VisualStudio2019安装谷歌云工具,但它不会显示在搜索结果中 我尝试手动安装扩展,但仍然无法安装,我安装了多个Visual Studio版本,其中一个版本是VS 2015,不受支持。所以我得到了这个错误 28-05-2019 09:51:15 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed produc
28-05-2019 09:51:15 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
根据文档,先决条件是VS2017,它是否仅适用于VS2017?根据对Visual Studio marketplace()的搜索,此扩展似乎仅适用于2017年 也许开发中有更新,但您需要一种与作者联系的方式来确认这一点 虽然可以通过解压缩VSIX文件、修改清单和重新压缩将一些扩展加载到2019中,但不能保证这一切都能正常工作(更不用说不会导致崩溃或其他更微妙的错误)
2017版页面确实链接到并显示了一个开源许可证,所以也许你可以自己进行更改并推出PR?截至本帖,仍然没有2019兼容的扩展。因为我的主要用例是将其用于部署,所以我使用以下脚本(批处理文件)来完成。希望有人能在这方面找到用武之地 在项目文件夹的根目录下运行以下操作
dotnet restore
dotnet build -c Release
dotnet publish -c Release
copy app.yaml .\bin\Release\netcoreapp2.1\publish\
gcloud app deploy .\bin\Release\netcoreapp2.1\publish\app.yaml -q
gcloud app browse
pause
现在说它支持2019年(适用于Windows)