I'd like to set the builds name in Visual Studio to something like that: MyApp_{VERSION}_x32.exe
Under project settings I can define the Output file name "Release\MyApp.exe"
Any ideas?
I'd like to set the builds name in Visual Studio to something like that: MyApp_{VERSION}_x32.exe
Under project settings I can define the Output file name "Release\MyApp.exe"
Any ideas?
You could write a renamer app that can grab the VERSION from an exe and rename it accordingly.
In the project that you would like to compile to MyApp_{VERSION}_x32.exe for example. You could set the post build project option to run the renamer app on the exe currently being compiled.
So everytime you build your app the rename app gets ran, it then renames the newly built exe.
I hope this helps.
Start by adding a new property sheet to your project. Name it as you like, then open it with the property manager view. Now:
Version
and set it to your value of choice$(OutDir)\$(ProjectName)_$(Version).exe