MSBuild copy task for all solution outputs without project\bin\configuration -
i have msbuild script builds solutions in repository, need way re-create of output build directory. trying utilize output parameter in build task know files copy, recursivedir can't used parameter: msbuild recursivedir empty (you can see build script here too). anyway, have folder structure:
repository | +- solution1 | | | +- projecta | | | | | +- bin | | | | | +- release | | | +- projectb | | | +- bin | | | +- release | +- solution2 | | | +- projecta | | | +- bin | | | +- x86 | | | +-release | | | +- images | ...etc basically, want re-create contents of each release folder, including subfolder construction , contents, next structure:
build | +- solution1 | +- solution2 | | | +- images | ...etc i.e. want strip project\bin\platform\configuration part of path. don't want have manually include each project, because new ones pop every , nice not have update build script every time. seems simple plenty can't figure out...
i've seen msbuild re-create output , remove part of path don't understand don't know how apply here.
have tried overriding output path parameter? illustration if phone call msbuild on each solution
c:\windows\microsoft.net\framework64\v4.0.30319\msbuild.exe $(solutionname) /p:outputpath="%cd%\build" this redirect output projects no configuration deal with. in \build output (its content depends on project type)
msbuild
No comments:
Post a Comment