Whenever you get the latest code you need to rebuild the entire solution and then launch the site and visit the /Setup/Default.aspx page to run any upgrade scripts.
If you're using the debugger to run the site just keep clicking continue on errors and it should handle the error and redirect to the setup page.
Hope it helps,
Joe