I've got 2 SQL Agent jobs to deploy with a database, the whole lot being in a Sql Server Development Tools project. There is no dedicated Agent Job object, so I've scripted them in the post-deployment script using drop & re-create. (Obviously they're in msdb database.)
Is this the best way of doing it?
When you script the 'Schedule', the parameters differ between 2005/2008 so it is necessary to handle this issue in the script.