You're putting a band-aid on a bigger problem. The band-aid is fine, but should only be temporary. You should really look at your entire build methodology and look at Continuous Integration.
- Local builds should be per developer and should only affect the .exe in the development environment
- Build servers should build and test your application, then report back the results.
- Once results are satisfactory and pass all tests with all new functionality, you can build a release version.
>When I build a new exe I'd like to automatically back up the previous copy. In case things go pear shaped and I have to revert.
>
>I do it manually but thats not a great way to go.
>
>Whats the best way to do this.
>
>This is a maintenance only sort of system so I'm looking for the minimalist approach.
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer