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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -