I have an ASP.NET MVC Web App which is deployed to Azure. The solution within VS 2013 Pro has 3 projects:
- the Web App project
- a Webjob project
- a Common project which stores code which is common to both the App and the Webjob.
The Webjob project was added to the main App project via the Add --> New Azure Webjob Project
context menu, which actually adds a new project within the same solution, which is fine.
When I initially published the app to Azure, the Webjob was deployed too and all is working as expected. The Webjob runs on schedule once per day.
Now I've made some local changes to the Webjob and need those changes to be published. I follow the same process to deploy the App (rtClick main App --> Publish
) which should also pick up changes to the Webjob, but the Preview pane is not picking up the changes and the changes are then subsequently not published to the Webjob.
Incidentally, any changes I make to the Common project are picked up successfully so looks like there is something weird about making changes and publishing Webjobs.
Has anyone come across this before?