Hi Is there a way to customize the post build event macros, I would like to move the new assembly to a sub folder in the same directory named by the version of the assembly i.e.
copy $(TargetDir)$(TargetFileName) $(TargetDir)$(ASSEMBLYVERSION)\$(TargetFileName)
However there is no such 'macro'. Sort of building a executable to get version like so
call foo.bat $(TargetName)
Where we have foo.bat evaluate the version of the target by calling a managed app that prints the version of the assembly you pass in, say GetVersion.exe
for /f %%t in ('GetVersion.exe %1') do (
set _version=%%t
)
echo %_version%
Any Ideas?? Surely there is a way to customize the macros directly??