无法在VSTS托管的VS2017代理上启动AzureStorageEmulator [英] Failed to start AzureStorageEmulator on VSTS Hosted VS2017 Agent
问题描述
我们在VSTS上具有.Net项目生成定义,该定义使用Azure存储模拟器运行测试。我们想使用Hosted 2017代理进行构建定义。
We have .Net project build definition on VSTS and it's using Azure Storage Emulator for running tests. And we want to use Hosted 2017 agents for the build definition.
我看到了这个问题( Azure SDK在托管的VS2017 VSTS Build Agent上不可用)以及我可以使用命令 C:\Program Files(x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe init / server(localdb)\MSSQLLocalDb ,以初始化Azure存储模拟器。
I saw this question (Azure SDK not available on Hosted VS2017 VSTS Build Agent) and the comment that I can use command "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe init /server (localdb)\MSSQLLocalDb" to initialize Azure Storage Emulator.
但是,当我尝试使用命令 C:\Program Files(x86)\Microsoft SDKs\Azure启动Azure Storage Emulator时\Storage Emulator\AzureStorageEmulator.exe start ,它失败,并出现错误:无法启动存储模拟器。
However, when I tried to start Azure Storage Emulator with command "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe start", it failed with Error: Unable to start the storage emulator.
是否可以在VSTS Hosted 2017代理上启动Azure存储模拟器?
Is there any way to start Azure Storage Emulator on VSTS Hosted 2017 agent?
推荐答案
现在可以了。
https://stackoverflow.com/a/51726177/1830814
这篇关于无法在VSTS托管的VS2017代理上启动AzureStorageEmulator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!