PreBuild Event in Visual Studio RRS feed

  • Question

  • User-462708889 posted


    By using prebuild event in visual studio to copy file from local to server, the command prompt is trigger from local or server?

    Please advise.


    Wednesday, March 8, 2017 8:03 AM

All replies

  • User281315223 posted

    It should be executed on the local machine (or whatever machine is performing the build action).

    Wednesday, March 8, 2017 8:39 PM
  • User-462708889 posted


    But the script is locate at server, run from local. The command prompt also from local?


    Thursday, March 9, 2017 3:50 AM
  • User-846834550 posted

    It runs from local machine.

    Tuesday, March 14, 2017 7:44 AM