verify the existence of a folder using the msbuild extension pack? -
how can dependably verify existence of folder using msbuild extension pack task?
how without throwing error , stopping build?
could use exists condition on target?
this execute onlyifexists target if there directory or file called testing in same directory msbuild file.
<itemgroup> <testpath include="testing" /> </itemgroup> <target name="onlyifexists" condition="exists(@(testpath))"> <message text="this ran!" importance="high" /> </target>
Comments
Post a Comment