{"action":"created","issue":{"url":"https://api.github.com/repos/projectkudu/KuduSync/issues/30","labels_url":"https://api.github.com/repos/projectkudu/KuduSync/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/KuduSync/issues/30/comments","events_url":"https://api.github.com/repos/projectkudu/KuduSync/issues/30/events","html_url":"https://github.com/projectkudu/KuduSync/issues/30","id":109538670,"number":30,"title":"Deployment script generated seems to fail","user":{"login":"hahmed","id":658005,"avatar_url":"https://avatars.githubusercontent.com/u/658005?v=3","gravatar_id":"","url":"https://api.github.com/users/hahmed","html_url":"https://github.com/hahmed","followers_url":"https://api.github.com/users/hahmed/followers","following_url":"https://api.github.com/users/hahmed/following{/other_user}","gists_url":"https://api.github.com/users/hahmed/gists{/gist_id}","starred_url":"https://api.github.com/users/hahmed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahmed/subscriptions","organizations_url":"https://api.github.com/users/hahmed/orgs","repos_url":"https://api.github.com/users/hahmed/repos","events_url":"https://api.github.com/users/hahmed/events{/privacy}","received_events_url":"https://api.github.com/users/hahmed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-02T17:49:44Z","updated_at":"2015-10-02T20:30:41Z","closed_at":"2015-10-02T20:30:41Z","body":"I have created a deployment script using \r\n\r\n````\r\nazure site deploymentscript --aspNet5 project.json\r\n````\r\n\r\nFor some reason when I deploy to azure, the deployment seems to fail via kudu sync.\r\n\r\nIt says there is an error at:\r\n````\r\n:: 1. Install KRE\r\ncall :ExecuteCmd PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command \"[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%SCM_KVM_PS_PATH%' %*\" install %SCM_KRE_VERSION% -%SCM_KRE_ARCH% -runtime %SCM_KRE_CLR% %SCM_KVM_INSTALL_OPTIONS%\r\nIF !ERRORLEVEL! NEQ 0 goto error\r\n\r\nIF EXIST \"%USERPROFILE%\\.k\\temp-set-envvars.cmd\" (\r\n  CALL \"%USERPROFILE%\\.k\\temp-set-envvars.cmd\"\r\n  DEL \"%USERPROFILE%\\.k\\temp-set-envvars.cmd\"\r\n)\r\n````\r\nThe **&** is the error at ````CurrentUICulture = '';& '%SCM_KVM_PS_PATH%' %*\" ````\r\n\r\nCan anyone help me out with this one?\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/projectkudu/KuduSync/issues/comments/145146693","html_url":"https://github.com/projectkudu/KuduSync/issues/30#issuecomment-145146693","issue_url":"https://api.github.com/repos/projectkudu/KuduSync/issues/30","id":145146693,"user":{"login":"hahmed","id":658005,"avatar_url":"https://avatars.githubusercontent.com/u/658005?v=3","gravatar_id":"","url":"https://api.github.com/users/hahmed","html_url":"https://github.com/hahmed","followers_url":"https://api.github.com/users/hahmed/followers","following_url":"https://api.github.com/users/hahmed/following{/other_user}","gists_url":"https://api.github.com/users/hahmed/gists{/gist_id}","starred_url":"https://api.github.com/users/hahmed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahmed/subscriptions","organizations_url":"https://api.github.com/users/hahmed/orgs","repos_url":"https://api.github.com/users/hahmed/repos","events_url":"https://api.github.com/users/hahmed/events{/privacy}","received_events_url":"https://api.github.com/users/hahmed/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T20:30:41Z","updated_at":"2015-10-02T20:30:41Z","body":"@ahmelsayed Thanks!\r\n\r\nI will close this issue and open a new one in the correct repo (I never saw it) - having some other issues."}}