Skip to content
| Marketplace
Sign in
Visual Studio>Tools>CopyOnSave
CopyOnSave

CopyOnSave

zgj

|
111 installs
| (1) | Free
Copy Project File To Directory When Save File
Download

1、Create a filename with SaveCopy.cfg in your solution root directory, Place together with the sln File. 2、Set the file content like below,FromDirectory must be project directory

ExtensionFilter:".js,.html,.cs"
CopyToDirectory:"x:\YourDirectory1\"
CopyToDirectory:"x:\YourDirectory2\"
CopyToDirectory:"x:\YourDirectory3\"
FromDirectory:"x:\SubProjectDirectory1\"
FromDirectory:"x:\SubProjectDirectory2\"
FromDirectory:"x:\SubProjectDirectory3\"
FromDirectory:"x:\SubProjectDirectory4\"

--split with ',' is support also,like below
--CopyToDirectory:"x:\YourDirectory1\,x:\YourDirectory1\"
3、Reopen the project,And then when you save the file js|html In your Project ,The file will copy To the "CopyToDirectory" ,when "FromDirectory" Ignored ,All solution subproject directory's saved file will be copyed

u3bnm-1ybb2.gif

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft