无法在 VSTS 托管 VS2017 代理上启动 AzureStorageEmulator

2023-12-20

我们在 VSTS 上有 .Net 项目构建定义,它使用 Azure 存储模拟器来运行测试。我们希望使用 Hosted 2017 代理来进行构建定义。

我看到这个问题(Azure SDK 在托管 VS2017 VSTS 生成代理上不可用 https://stackoverflow.com/questions/46108199/azure-sdk-not-available-on-hosted-vs2017-vsts-build-agent)以及我可以使用命令的评论“C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe init /server (localdb)\MSSQLLocalDb" 初始化 Azure 存储模拟器。

但是,当我尝试使用命令“启动 Azure 存储模拟器”时C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe 启动“,它失败了错误:无法启动存储模拟器.

有没有办法在 VSTS Hosted 2017 代理上启动 Azure 存储模拟器?

命令与错误 https://i.stack.imgur.com/JcJ5T.png


现在这是可能的。

参见另一个答案:

https://stackoverflow.com/a/51726177/1830814 https://stackoverflow.com/a/51726177/1830814

这里有更多信息:

https://developercommunity.visualstudio.com/content/problem/238481/hosted-visual-studio-2017-errorno-available-sql-in.html# https://developercommunity.visualstudio.com/content/problem/238481/hosted-visual-studio-2017-errorno-available-sql-in.html#

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法在 VSTS 托管 VS2017 代理上启动 AzureStorageEmulator 的相关文章

随机推荐