【发布时间】:2018-03-02 21:39:39
【问题描述】:
我们在 VSTS 上有 .Net 项目构建定义,它使用 Azure 存储模拟器来运行测试。我们希望使用 Hosted 2017 代理进行构建定义。
我看到了这个问题 (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 存储模拟器。
但是,当我尝试使用命令“C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe start",它失败并出现错误:无法启动存储模拟器。
有没有办法在 VSTS Hosted 2017 代理上启动 Azure 存储模拟器?
【问题讨论】:
标签: azure visual-studio-2017 azure-devops build-agent