MSBuild Exec fail when UseCommandProcessor set to True -


i define target call exec

<target name="buildinstaller" >          <exec command="attrib -r /s /d $(msbuildprojectdirectory)\environment\installer\serviceplatform\*.*" />          <exec command="dir *.* /s" />   </target> 

it works perfectly

but if add usecommandprocessor set true

     <target name="buildinstaller" >              <exec command="attrib -r /s /d $(msbuildprojectdirectory)\environment\installer\serviceplatform\*.*" />              <exec command="dir *.* /s" usecommandprocessor="true"/>       </target> 

i got this:

c:\dev>/q /c:\users\myuser\appdata\local\temp\tmp63250fcf10714224b92eeeb09e25b6f5.exec.cmd '/q' not recognized internal or external command, operable program or batch file. 

why happen? doing wrong?


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -