我最近将两个单独的开发环境升级到了新的Azure SDK 2.3工具。
存储模拟器未按预期初始化。所以我去运行DSinit初始化数据库,它就消失了!就像有人偷了它一样。我已经搜索了整个磁盘,但它不存在。所以现在我有了一个不会初始化的存储模拟器,并且当我从Azure SDK 2.2升级到2.3时,用于修复它的工具已经以某种方式消失了。
问题是,在哪里可以获取DSInit。这就是我吗?
我尝试卸载并重新安装两个SDK。
看起来DSInit不再是启动仿真器的方式。
我看到的选项是从Azure SDK命令提示符中使用CSRun
csrun /devstore:start
似乎已被WAStorageEmulator.exe取代,该文件可以在%ProgramFiles(x86)%\ Microsoft SDKs \ Windows Azure \ Storage Emulator中找到。从那里,可以运行WAStorageEmulator.exe来初始化,启动和停止模拟器。
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。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句