msbuildextensionpack - How do I add files to a specific folder inside the zip with MSBuild ExtensionPack Zip? -
i want copy files 1 project project's published zip (don't ask). i've got
<target name="copyfiles" aftertargets="_copywebapplicationlegacy"> <itemgroup> <files include="$(webprojectoutputcontentdir)\*"> </files> </itemgroup> <msbuild.extensionpack.compression.zip taskaction="addfiles" compressfiles="@(files)" zipfilename="$(outdir)\_publishedwebsites\userinterface_package\userinterface.zip" compresspath="\(huge path)\(destination project)\packagetmp" removeroot="\(huge path)\(source project)"/> </target>
this dumps zip's root folder, though. need in packagetmp folder.
i don't think possible extension itself, copy file correct structure beforehand:
<copy sourcefiles="@(files)" destinationfolder="packagetmp\" />
then reference packagetmp\@(files)
in compressfiles
call
Comments
Post a Comment