It is necessary after each compilation of the compiled file to additionally copy to a specific folder.
How to implement this?

  • one
    post-build step? - VladD
  • @VladD, have you come across this? ru.stackoverflow.com/a/586971 - Rakzin Roman
  • Our team is configured in the version control system (TFS). As soon as someone commits the changes, the server automatically builds a new version and runs the tests. If an error occurred during the compilation, or the tests crash, the one who made the commit receives a signal by email. - VladD
  • @VladD, but how can parameters be substituted, what would they be processed before compilation and taken from another file and the compiler would print the value? - Rakzin Roman
  • one
    For this, in theory, you need to put the total value in app.config or settings? And let everyone take from there. Why code generation if you can get by with a configuration or just a global variable? - VladD 2:46

1 answer 1

@VladD, thanks.
If anyone is interested, write in the project's property сборки build events > event after build, xcopy “$ (TargetPath)” “C: \ PathToMyFolder”