Role in Azure Compute Emulator stuck cycling between Unknown and Destroyed states

后端 未结 2 541
梦毁少年i
梦毁少年i 2020-12-07 05:53

My Azure Cloud Service\'s Web Role works fine when deployed to Azure but can\'t get it running with the Emulator.

  • When starting the role from within Visual Stu
相关标签:
2条回答
  • 2020-12-07 06:41

    I also found that by having a command in Microsoft.PowerShell_profile in C:\Users\MyUserName\Documents\WindowsPowerShell that prompted for input caused the Emulator to get stuck because it uses that profile just like any other PowerShell session. Removing the prompt allowed it to work properly.

    0 讨论(0)
  • 2020-12-07 06:52

    Comment out the Startup Task in the csdef file. It helped me.

    0 讨论(0)
提交回复
热议问题