最近,我将两个独立的开发环境升级到了新的AzureSDK2.3工具。
存储模拟器没有像预期的那样初始化。所以我去运行DSinit来初始化数据库,然后它就消失了!好像有人偷了它。我搜遍了整个磁盘,但它不在那里。所以现在我有了一个不会初始化的存储仿真器,当我从AzureSDK2.2升级到2.3时,修复它的工具不知怎么地消失了。
问题是,我在哪里可以得到DSInit。就我一个人吗?
我尝试过卸载和重新安装两个SDK的。
发布于 2014-04-10 07:24:32
看起来,DSInit不再是启动模拟器的方式。
我看到的选项是从Azure命令提示符中使用CSRun
csrun /devstore:start这似乎已被WAStorageEmulator.exe所取代,它可以在%ProgramFiles(x86)%\Microsoft \Windows\Storage模拟器上找到。从那里,可以运行WAStorageEmulator.exe到init,启动和停止模拟器。
WAStorageEmulator.exe init : Initialize the emulator database and configuration.
WAStorageEmulator.exe start : Start the emulator.
WAStorageEmulator.exe stop : Stop the emulator.
WAStorageEmulator.exe status : Get current emulator status.
WAStorageEmulator.exe clear : Delete all data in the emulator.
WAStorageEmulator.exe help [command] : Show general or command-specific help.在“开始”菜单/屏幕上还有一个图标,它在命令提示符中为您运行WAStorageEmulator.exe。
发布于 2014-06-04 07:33:20
DSInit被WAStorageEmulator取代。您可以在Windows命令提示符-2.3中运行以下命令:
更改目录:
cd C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator运行实用程序:
WAStorageEmulator init /sqlInstance .\sqlexpress希望这能有所帮助!
https://stackoverflow.com/questions/22980336
复制相似问题