Monday, 11 February 2013
Cannot find file named 'approot\bin\startup.cmd' for startup task
Another pain. If you are trying to create a startup command file for Azure to run when starting up new instances, you might find the error as above. In my case this was because when copying MyFolder/startup.cmd to the output directory, Visual Studio was also copying the parent directory and the file ended up being at approot\bin\MyFolder\startup. Rather than changing the path of the startup script specified in the csdef, I just moved the command file up to the application level and deleted the directory.