title: Azure Cloud Service NotReady and self-reporting Unhealthy
body: <p>I have an azure cloud service (classic) running a worker role. I am trying to deploy it from visual studio but something is wrong and I have no clue how to find out what is wrong. I've attached a remote debugger to the VM and here is the output:</p>
  
  <pre><code>[INFO]  Role 996fcd4bf41d4b86bd4e4fb1c52904b5.MyRole is reporting state NotReady with sub-status Unhealthy and details Role has reported itself as unhealthy..
  [HEART] WindowsAzureGuestAgent Heartbeat.
  [INFO]  Role current state: Unhealthy.
  [INFO]  Recieved goal state information.
  [INFO]  Execution status: StartSucceeded.
  [INFO]  Role 996fcd4bf41d4b86bd4e4fb1c52904b5.MyRole is reporting state NotReady with sub-status Unhealthy and details Role has reported itself as unhealthy..
  [INFO]  Role 996fcd4bf41d4b86bd4e4fb1c52904b5.MyRole1 has current state Unhealthy, desired state Started, and goal state execution status StartSucceeded.
  [INFO]  Role 996fcd4bf41d4b86bd4e4fb1c52904b5.MyRole has current state Unhealthy, desired state Started, and goal state execution status StartSucceeded.
  [HEART] WindowsAzureGuestAgent Heartbeat.
  [INFO]  Role current state: Unhealthy.
  [INFO]  Recieved goal state information.
  [INFO]  Execution status: StartSucceeded.
  [INFO]  Role 996fcd4bf41d4b86bd4e4fb1c52904b5.MyRole1 is reporting state NotReady with sub-status Unhealthy and details Role has reported itself as unhealthy..
  </code></pre>
  
  <p>The worker role is a .NET Framework 4.7.2 console app. osFamily for the service is 6. I don't get any configuration errors.</p>
  
  <p>Can anyone point me in the right direction?</p>