I have a standard ASP.Net application to which I have added an Azure Deployment project for deployment to Azure. The application is deployed perfectly to Azure.
Then I wanted to expand it to have a launch task.
I added the following to ServiceDefintion.csdef
<Startup>
<Task commandLine="startup.cmd" executionContext="elevated" taskType="simple"/>
</Startup>
startup.cmd is located in the bin bin folder. I am registering a batch file, so I see that it is not running.
When deploying the same application to Compute Emulator on my local computer, the startup task is performed correctly.
Did I miss something?
keitn source
share