asp.net mvc - post build command line event C# -


i have used below code in command line: it's working fine.

 xcopy /y /i  "$(targetfilename)*" "c:\projects\datafabric_rnd_deploy\adtosql"   xcopy /y /i  "$(targetdir)*"  "c:\projects\datafabric_rnd_deploy\adtosql" 

the same code modified :

set outpath = "c:\projects\datafabric_rnd_deploy\adtosql" xcopy /y /i  "$(targetfilename)*" $(outpath) xcopy /y /i "$(targetdir)*"  $(outpath)   

(or)

 set outpath = "c:\projects\datafabric_rnd_deploy\adtosql"  xcopy /y /i  "$(targetfilename)*" "$(outpath)"  xcopy /y /i "$(targetdir)*"  "$(outpath)"   

(or)

 set outpath = c:\projects\datafabric_rnd_deploy\adtosql  xcopy /y /i  "$(targetfilename)*" "%outpath%"  xcopy /y /i "$(targetdir)*"  "%outpath%" 

it's not working, please me on same


Comments