我正在使用 win2k12 R2 标准 62 位版本操作系统,并且我正在尝试使用 power-shell 中的 azure arm command-let 将我的 api 服务和 Web 应用程序自动部署到 azure 我能够运行命令 Login-AzureRmAccount 和 Set-AzureSubscription 但 当我尝试运行命令 Set-AzureRmCurrentStorageAccount 时,出现以下错误“Set-AzureRmCurrentStorageAccount:无法加载文件或程序集 'Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=2.0.0.0、Culture=neutral、PublicKeyToken=31bf3856ad364e35' 或其依赖项之一。强名称验证”
相同的命令在 Windows 10 64 位版本操作系统中可以正常工作。
最佳答案
这是最近发布的 SDK 版本中存在的问题。 It has since been hotfixed 。 (从这篇文章发布的几个小时前开始)。如果您使用Web Platform Installer并更新 Microsoft Azure Powershell,您应该可以开始了。
关于azure - Set-AzureRmCurrentStorageAccount 出现错误无法加载文件或程序集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38869550/