Use the same code for both the dev project and the managed ones.