You may want to check out Web Deployment Projects (WDP) for Visual Studio. These are MSBuild-type projects that wrap functionality of aspnet_compile.exe into an easily configurable set of project properties. If you're doing automated builds and deployments, these types of projects make thing a lot simpler (at least they did for me!).
They provide you with the ability to swap out configuration files (appSettings, connectionStrings, etc.) depending on the type of build (Release, Debug, other) and you can also set how you want your output DLL's built (per-file, one assembly, etc.). This is very useful for web site applications -- not so much for web application projects.
If you have a mix of WSP's and WAP's, using WDP's may give you some consistency.
Check out Scott Guthrie's blog on using WDP's and also his VS2010 update.