I have a VS 2008 web forms project and I'm using CruiseControl.net to build and test the app. All fairly straight forward.
What I'd like to do is automate the publishing to a given folder, and have the folder named ProjectName_VersionNumber_BuildNumber. I can build to a statically named folder, but I can't see how to name the folder automatically. How can I detect the version number and build number in cruise control scripts?