.net - Visual Studio Post Build Task passing Multiple files -


i have executable file - process.exe - takes single file path , file (no outputs). process.exe isn't capable of accepting wildcard paths e.g. process.exe c:\project\*.ext

what want select files of particular extension in project (*.xmlt) , pass each 1 of these files process.exe part of afterbuild step.

you'll have use batching (in project file):

<propertygroup>   <processexe>process.exe</processexe> </propertygroup>  <target name="afterbuild">   <itemgroup>     <xmlt include="**\*.xmlt"/>   </itemgroup>    <exec command="$(processexe) %(xmlt.fullpath)"/> </target> 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -