I'd like to use the release/version number generated by my deployment project as the version number of my released package. If that means I have to build the package in the deployment tasks, how do I avoid building the same release more than once? I only want to build a release once and deploy the same one to each environment.
At the moment I'm creating the released package in a build plan, but that means I can't use the release/version number provided by the deployment project.