On a successful build, I wish to copy the contents of the output directory to a different location under the same "base" folder. This parent folder is a relative part and can vary based on Source Control settings.
I have listed a few of the Macro values available to me ...
$(SolutionDir) = D:GlobalDirVersionAppNameSolution1uild
$(ProjectDir) = D:GlobalDirVersionAppNameSolution1VersionProjectA
I want to copy the Output Dir contents to the following folder :
D:GlobalDirVersionAppNameSolution2ProjectDependency
The base location "D:GlobalDirVersionAppName" needs to be fetched from one of the above macros. However, none of the macro values list only the parent location.
How do I extract only the base location for the post build copy command ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…