msbuild assign equipment subdirectories: incremental builds illusory these?
i have rudimentary pdf converter an msbuild task. assign takes files (itaskitems) quarrel pdf files (itaskitems) output. book uses aim reconstruct conversion:
<project defaulttargets="build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" toolsversion="3.5">
<usingtask assemblyfile="$(msbuildextensionspath)\mytasks.dll" taskname="mytasks.doctopdf" />
<target name="build" dependsontargets="convert" />
<target name="convert"
inputs="@(worddocuments)"
outputs="@(worddocuments->'%(filename).pdf')">
<doctopdf inputs="@(worddocuments)"
outputs="%(filename).pdf">
<output taskparameter="convertedfiles" itemname="pdfdocuments" />
</doctopdf>
</target>
<itemgroup>
<worddocuments include="one.doc" />
<worddocuments include="subdir\two.doc" />
<worddocuments include="**\*.doc" />
</itemgroup>
</project>
what's duty subdir\two.doc gets converted each incremental build, one.doc does (ie msbuild justly skips record since already converted). i recursive equipment spec (the third above), i same intrepidity (ie. one.doc wholly gets converted pdf out date missing, nonetheless papers subdirectories always converted regardless).
what am i doing wrong here?
Comments
Post a Comment